public class ConnectionStatus
extends java.lang.Object
AsyncRatingServiceClient.connect(String, int)).| Constructor and Description |
|---|
ConnectionStatus(com.highdeal.barbus.Client registeredClient)
Builds a
ConnectionStatus. |
| Modifier and Type | Method and Description |
|---|---|
int |
getServicePort()
Gets the port of the service.
|
boolean |
isServiceAvailable()
Gets the service availability status.
|
public ConnectionStatus(com.highdeal.barbus.Client registeredClient)
ConnectionStatus.registeredClient - the registered Client (can be null)public boolean isServiceAvailable()
true if the service is available, false otherwise.public int getServicePort()
0 otherwise