public class Pong
extends java.lang.Object
| Constructor and Description |
|---|
Pong() |
| Modifier and Type | Method and Description |
|---|---|
long |
getResponseTime() |
java.lang.String |
getVersion() |
boolean |
isGood()
Good or bad connection status.
|
void |
setResponseTime(long responseTime) |
void |
setVersion(java.lang.String version) |
java.lang.String |
toString() |
public java.lang.String getVersion()
public void setVersion(java.lang.String version)
version - the status to setpublic boolean isGood()
public long getResponseTime()
public void setResponseTime(long responseTime)
responseTime - the responseTime to setpublic java.lang.String toString()
toString in class java.lang.ObjectData In Motion GmbH all rights reserved