Package com.sshtools.j2ssh.util
Class OpenClosedState
java.lang.Object
com.sshtools.j2ssh.util.State
com.sshtools.j2ssh.util.OpenClosedState
- All Implemented Interfaces:
Serializable
- Version:
- $Revision: 1.13 $
- Author:
- $author$
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sshtools.j2ssh.util.State
breakWaiting, getValue, setValue, waitForState, waitForState, waitForStateUpdate
-
Field Details
-
OPEN
public static final int OPEN- See Also:
-
CLOSED
public static final int CLOSED- See Also:
-
-
Constructor Details
-
OpenClosedState
public OpenClosedState(int initial) Creates a new OpenClosedState object.- Parameters:
initial
-
-
-
Method Details
-
isValidState
public boolean isValidState(int state) - Specified by:
isValidState
in classState
- Parameters:
state
-- Returns:
-