be.lassi.lanbox
Class ConnectionStatus
java.lang.Object
be.lassi.lanbox.ConnectionStatus
public class ConnectionStatus
- extends java.lang.Object
Status of the tcp-ip connection with the Lanbox.
Method Summary |
IntHolder |
getErrorCount()
Gets the value holder for the error count. |
Holder<java.lang.String> |
getMessage()
Gets text message with status of connection to lanbox. |
BooleanHolder |
getOpen()
Indicates whether the connection to the lanbox is currently open. |
boolean |
isOpen()
Indicates whether the connection is open. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionStatus
public ConnectionStatus()
getErrorCount
public IntHolder getErrorCount()
- Gets the value holder for the error count.
- Returns:
- the error count value holder
getMessage
public Holder<java.lang.String> getMessage()
- Gets text message with status of connection to lanbox.
- Returns:
- connection status message
getOpen
public BooleanHolder getOpen()
- Indicates whether the connection to the lanbox is currently open.
- Returns:
- boolean value holder with open status
isOpen
public boolean isOpen()
- Indicates whether the connection is open.
- Returns:
- true if the connection is open