|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.sshtools.j2ssh.authentication.AuthenticationProtocolState
Holds the state of the authentication protocol.
| Field Summary | |
static int |
COMPLETE
Description of the Field |
static int |
FAILED
Description of the Field |
static int |
INITIALIZING
Description of the Field |
static int |
PARTIAL
Description of the Field |
static int |
READY
Description of the Field |
| Constructor Summary | |
AuthenticationProtocolState()
Constructor for the state object. |
|
| Method Summary | |
int |
getState()
Gets the current state. |
void |
updateState(int state)
Update to the state supplied. |
int |
waitForState(int waitForState)
Synchronized method to wait for a state update. |
int |
waitForStateUpdate()
Description of the Method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int INITIALIZING
public static final int READY
public static final int FAILED
public static final int PARTIAL
public static final int COMPLETE
| Constructor Detail |
public AuthenticationProtocolState()
Constructor for the state object.
| Method Detail |
public int getState()
Gets the current state.
public void updateState(int state)
throws InvalidStateException
Update to the state supplied.
state - The new state
InvalidStateException - Description of the Exceptionpublic int waitForState(int waitForState)
Synchronized method to wait for a state update.
waitForState - Description of the Parameter
public int waitForStateUpdate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||