com.sshtools.j2ssh.util
Class StartStopState

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

public class StartStopState
extends State

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

Field Summary
static int FAILED
           
static int STARTED
           
static int STOPPED
           
 
Fields inherited from class com.sshtools.j2ssh.util.State
state
 
Constructor Summary
StartStopState(int initial)
          Creates a new StartStopState 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

STARTED

public static final int STARTED
See Also:
Constant Field Values

STOPPED

public static final int STOPPED
See Also:
Constant Field Values

FAILED

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

StartStopState

public StartStopState(int initial)
Creates a new StartStopState 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.