Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.sshtools.j2ssh.util.State
com.sshtools.j2ssh.util.StartStopState
public class StartStopState
extends State
Constructor Summary | |
|
Method Summary | |
boolean |
|
Methods inherited from class com.sshtools.j2ssh.util.State | |
breakWaiting , getValue , isValidState , setValue , waitForState , waitForState , waitForStateUpdate |
public static final int FAILED
- Field Value:
- 3
public static final int STARTED
- Field Value:
- 1
public static final int STOPPED
- Field Value:
- 2
public StartStopState(int initial)
Creates a new StartStopState object.
- Parameters:
initial
-
public boolean isValidState(int state)
- Overrides:
- isValidState in interface State
- Parameters:
state
-
- Returns: