Package com.sshtools.j2ssh.connection
Class ChannelState
java.lang.Object
com.sshtools.j2ssh.util.State
com.sshtools.j2ssh.connection.ChannelState
- All Implemented Interfaces:
Serializable
- Version:
- $Revision: 1.17 $
- Author:
- $author$
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sshtools.j2ssh.util.State
breakWaiting, getValue, setValue, waitForState, waitForState, waitForStateUpdate
-
Field Details
-
CHANNEL_UNINITIALIZED
public static final int CHANNEL_UNINITIALIZED- See Also:
-
CHANNEL_OPEN
public static final int CHANNEL_OPEN- See Also:
-
CHANNEL_CLOSED
public static final int CHANNEL_CLOSED- See Also:
-
-
Constructor Details
-
ChannelState
public ChannelState()Creates a new ChannelState object.
-
-
Method Details
-
isValidState
public boolean isValidState(int state) - Specified by:
isValidState
in classState
- Parameters:
state
-- Returns:
-