public class Pong extends Object
Constructor and Description |
---|
Pong() |
Modifier and Type | Method and Description |
---|---|
long |
getResponseTime() |
String |
getVersion() |
boolean |
isGood()
Good or bad connection status.
|
void |
setResponseTime(long responseTime) |
void |
setVersion(String version) |
String |
toString() |
public String getVersion()
public void setVersion(String version)
version
- the status to setpublic boolean isGood()
public long getResponseTime()
public void setResponseTime(long responseTime)
responseTime
- the responseTime to setCopyright © 2019. All rights reserved.