|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sshtools.j2ssh.util.State
com.sshtools.j2ssh.transport.ServiceState
This class represents the state of a transport protocol service.
| Field Summary | |
static int |
SERVICE_STARTED
The service has started and can send/recieve messages |
static int |
SERVICE_STOPPED
The service has stopped and no messages can be sent or received |
static int |
SERVICE_UNINITIALIZED
The service is unitialized |
| Fields inherited from class com.sshtools.j2ssh.util.State |
state |
| Constructor Summary | |
ServiceState()
Constructs the state instance |
|
| Method Summary | |
boolean |
isValidState(int state)
Evaluates whether the state is valid. |
| Methods inherited from class com.sshtools.j2ssh.util.State |
breakWaiting, getValue, setValue, waitForState, waitForState, waitForStateUpdate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int SERVICE_UNINITIALIZED
public static final int SERVICE_STARTED
public static final int SERVICE_STOPPED
| Constructor Detail |
public ServiceState()
Constructs the state instance
| Method Detail |
public boolean isValidState(int state)
Evaluates whether the state is valid.
isValidState in class Statestate -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||