Package com.sshtools.j2ssh.util
Class OpenClosedState
- java.lang.Object
-
- com.sshtools.j2ssh.util.State
-
- com.sshtools.j2ssh.util.OpenClosedState
-
- All Implemented Interfaces:
java.io.Serializable
public class OpenClosedState extends State
- Version:
- $Revision: 1.13 $
- Author:
- $author$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OpenClosedState(int initial)
Creates a new OpenClosedState 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
-
OPEN
public static final int OPEN
- See Also:
- Constant Field Values
-
CLOSED
public static final int CLOSED
- See Also:
- Constant Field Values
-
-
Method Detail
-
isValidState
public boolean isValidState(int state)
- Specified by:
isValidState
in classState
- Parameters:
state
-- Returns:
-
-