talx.games.tech
Class TestResult
java.lang.Object
talx.games.tech.TestResult
- All Implemented Interfaces:
- java.io.Serializable
- public class TestResult
- extends java.lang.Object
- implements java.io.Serializable
Holds a connectivity test result.
- See Also:
- Serialized Form
|
Constructor Summary |
TestResult(java.util.Date d,
boolean successful)
Creates a test result. |
TestResult(java.lang.String url)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TestResult
public TestResult(java.util.Date d,
boolean successful)
- Creates a test result.
- Parameters:
d - the time of the test, if null, the current time is used.successful - true if the test was successful.
TestResult
public TestResult(java.lang.String url)
getDate
public java.util.Date getDate()
getDate
public java.lang.String getDate(java.text.DateFormat format)
isSuccessful
public boolean isSuccessful()
toString
public java.lang.String toString()
© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.