com.sshtools.j2ssh.util
Class OpenClosedState

java.lang.Object
  extended by com.sshtools.j2ssh.util.State
      extended by com.sshtools.j2ssh.util.OpenClosedState
All Implemented Interfaces:
java.io.Serializable

public class OpenClosedState
extends State

Version:
$Revision: 1.13 $
Author:
$author$
See Also:
Serialized Form

Field Summary
static int CLOSED
           
static int OPEN
           
 
Fields inherited from class com.sshtools.j2ssh.util.State
state
 
Constructor Summary
OpenClosedState(int initial)
          Creates a new OpenClosedState object.
 
Method Summary
 boolean isValidState(int state)
           
 
Methods inherited from class com.sshtools.j2ssh.util.State
breakWaiting, getValue, setValue, waitForState, waitForState, waitForStateUpdate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPEN

public static final int OPEN
See Also:
Constant Field Values

CLOSED

public static final int CLOSED
See Also:
Constant Field Values
Constructor Detail

OpenClosedState

public OpenClosedState(int initial)
Creates a new OpenClosedState object.

Parameters:
initial -
Method Detail

isValidState

public boolean isValidState(int state)
Specified by:
isValidState in class State
Parameters:
state -
Returns:


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