com.sshtools.j2ssh.transport
Class TransportProtocolState
java.lang.Object
com.sshtools.j2ssh.util.State
com.sshtools.j2ssh.transport.TransportProtocolState
- All Implemented Interfaces:
- java.io.Serializable
public class TransportProtocolState
- extends State
- Version:
- $Revision: 1.24 $
- Author:
- $author$
- See Also:
- Serialized Form
Fields inherited from class com.sshtools.j2ssh.util.State |
state |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNINITIALIZED
public static final int UNINITIALIZED
- See Also:
- Constant Field Values
NEGOTIATING_PROTOCOL
public static final int NEGOTIATING_PROTOCOL
- See Also:
- Constant Field Values
PERFORMING_KEYEXCHANGE
public static final int PERFORMING_KEYEXCHANGE
- See Also:
- Constant Field Values
CONNECTED
public static final int CONNECTED
- See Also:
- Constant Field Values
DISCONNECTED
public static final int DISCONNECTED
- See Also:
- Constant Field Values
lastError
public java.io.IOException lastError
reason
public java.lang.String reason
TransportProtocolState
public TransportProtocolState()
- Creates a new TransportProtocolState object.
setLastError
protected void setLastError(java.io.IOException lastError)
- Parameters:
lastError
-
hasError
public boolean hasError()
- Returns:
getLastError
public java.io.IOException getLastError()
- Returns:
setDisconnectReason
protected void setDisconnectReason(java.lang.String reason)
- Parameters:
reason
-
getDisconnectReason
public java.lang.String getDisconnectReason()
- Returns:
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.