Package com.sshtools.j2ssh.util
Class StartStopState
- java.lang.Object
-
- com.sshtools.j2ssh.util.State
-
- com.sshtools.j2ssh.util.StartStopState
-
- All Implemented Interfaces:
java.io.Serializable
public class StartStopState extends State
- Version:
- $Revision: 1.15 $
- Author:
- $author$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StartStopState(int initial)
Creates a new StartStopState object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isValidState(int state)
-
Methods inherited from class com.sshtools.j2ssh.util.State
breakWaiting, getValue, setValue, waitForState, waitForState, waitForStateUpdate
-
-
-
-
Field Detail
-
STARTED
public static final int STARTED
- See Also:
- Constant Field Values
-
STOPPED
public static final int STOPPED
- See Also:
- Constant Field Values
-
FAILED
public static final int FAILED
- See Also:
- Constant Field Values
-
-
Method Detail
-
isValidState
public boolean isValidState(int state)
- Specified by:
isValidState
in classState
- Parameters:
state
-- Returns:
-
-