com.sshtools.j2ssh.util
Class State
java.lang.Object
com.sshtools.j2ssh.util.State
- Serializable
public abstract class State
extends java.lang.Object
implements Serializable
State(int initialState) - Creates a new State object.
|
State
public State(int initialState)
Creates a new State object.
breakWaiting
public void breakWaiting()
getValue
public int getValue()
isValidState
public abstract boolean isValidState(int state)
waitForState
public boolean waitForState(int state,
long timeout)
throws InvalidStateException,
InterruptedException
waitForStateUpdate
public int waitForStateUpdate()
throws InterruptedException
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.