Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.sshtools.j2ssh.util.State
com.sshtools.j2ssh.connection.ChannelState
public class ChannelState
extends State
Field Summary | |
static int | |
static int | |
static int |
Constructor Summary | |
|
Method Summary | |
boolean |
|
Methods inherited from class com.sshtools.j2ssh.util.State | |
breakWaiting , getValue , isValidState , setValue , waitForState , waitForState , waitForStateUpdate |
public static final int CHANNEL_CLOSED
- Field Value:
- 3
public static final int CHANNEL_OPEN
- Field Value:
- 2
public static final int CHANNEL_UNINITIALIZED
- Field Value:
- 1
public boolean isValidState(int state)
- Overrides:
- isValidState in interface State
- Parameters:
state
-
- Returns: