public final class ConnectionStatus
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ConnectionStatus |
Nil |
Constructor and Description |
---|
ConnectionStatus(java.lang.String host,
boolean connected) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getHost()
Gets the host(s) that the source type is connected to.
|
int |
hashCode() |
boolean |
isConnected()
Checks if the source type connected to the
host(s) . |
java.lang.String |
toString() |
public static final ConnectionStatus Nil
public ConnectionStatus(java.lang.String host, boolean connected)
public java.lang.String getHost()
public boolean isConnected()
host(s)
.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object