com.sshtools.j2ssh.transport
Class TransportProtocolState
- Serializable
public class TransportProtocolState
CONNECTED
public static final int CONNECTED
DISCONNECTED
public static final int DISCONNECTED
NEGOTIATING_PROTOCOL
public static final int NEGOTIATING_PROTOCOL
PERFORMING_KEYEXCHANGE
public static final int PERFORMING_KEYEXCHANGE
UNINITIALIZED
public static final int UNINITIALIZED
lastError
public IOException lastError
reason
public String reason
TransportProtocolState
public TransportProtocolState()
Creates a new TransportProtocolState object.
getDisconnectReason
public String getDisconnectReason()
getLastError
public IOException getLastError()
hasError
public boolean hasError()
setDisconnectReason
protected void setDisconnectReason(String reason)
setLastError
protected void setLastError(IOException lastError)
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.