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