com.sshtools.j2ssh.connection

Class ChannelState

Implemented Interfaces:
Serializable

public class ChannelState
extends State

Version:
$Revision: 1.17 $
Author:
$author$

Field Summary

static int
CHANNEL_CLOSED
static int
CHANNEL_OPEN
static int
CHANNEL_UNINITIALIZED

Fields inherited from class com.sshtools.j2ssh.util.State

state

Constructor Summary

ChannelState()
Creates a new ChannelState object.

Method Summary

boolean
isValidState(int state)

Methods inherited from class com.sshtools.j2ssh.util.State

breakWaiting, getValue, isValidState, setValue, waitForState, waitForState, waitForStateUpdate

Field Details

CHANNEL_CLOSED

public static final int CHANNEL_CLOSED
Field Value:
3

CHANNEL_OPEN

public static final int CHANNEL_OPEN
Field Value:
2

CHANNEL_UNINITIALIZED

public static final int CHANNEL_UNINITIALIZED
Field Value:
1

Constructor Details

ChannelState

public ChannelState()
Creates a new ChannelState object.

Method Details

isValidState

public boolean isValidState(int state)
Overrides:
isValidState in interface State
Parameters:
state -
Returns:

Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.