Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

DOCUMENT ME!

See Also:
  Serialized Form

Field Summary
`static int` | `CONNECTED` DOCUMENT ME!
`static int` | `DISCONNECTED` DOCUMENT ME!
`java.io.IOException` | `lastError` DOCUMENT ME!
`static int` | `NEGOTIATING_PROTOCOL` DOCUMENT ME!
`static int` | `PERFORMING_KEYEXCHANGE` DOCUMENT ME!
`java.lang.String` | `reason` DOCUMENT ME!
`static int` | `UNINITIALIZED` DOCUMENT ME!

Fields inherited from class com.sshtools.j2ssh.util.State
`state`

Constructor Summary
`TransportProtocolState()` Creates a new TransportProtocolState object.

Method Summary
`java.lang.String` | `getDisconnectReason()` DOCUMENT ME!
`java.io.IOException` | `getLastError()` DOCUMENT ME!
`boolean` | `hasError()` DOCUMENT ME!
`boolean` | `isValidState(int state)` DOCUMENT ME!
`protected void` | `setDisconnectReason(java.lang.String reason)` DOCUMENT ME!
`protected void` | `setLastError(java.io.IOException lastError)` DOCUMENT ME!

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

### UNINITIALIZED

    public static final int UNINITIALIZED

  DOCUMENT ME!

  See Also:
    Constant Field Values

### NEGOTIATING_PROTOCOL

    public static final int NEGOTIATING_PROTOCOL

  DOCUMENT ME!

  See Also:
    Constant Field Values

### PERFORMING_KEYEXCHANGE

    public static final int PERFORMING_KEYEXCHANGE

  DOCUMENT ME!

  See Also:
    Constant Field Values

### CONNECTED

    public static final int CONNECTED

  DOCUMENT ME!

  See Also:
    Constant Field Values

### DISCONNECTED

    public static final int DISCONNECTED

  DOCUMENT ME!

  See Also:
    Constant Field Values

### lastError

    public java.io.IOException lastError

  DOCUMENT ME!

### reason

    public java.lang.String reason

  DOCUMENT ME!

Constructor Detail

### TransportProtocolState

    public TransportProtocolState()

  Creates a new TransportProtocolState object.

Method Detail

### setLastError

    protected void setLastError(java.io.IOException lastError)

  DOCUMENT ME!

  Parameters:
    `lastError` - DOCUMENT ME!

### hasError

    public boolean hasError()

  DOCUMENT ME!

  Returns:
    DOCUMENT ME!

### getLastError

    public java.io.IOException getLastError()

  DOCUMENT ME!

  Returns:
    DOCUMENT ME!

### setDisconnectReason

    protected void setDisconnectReason(java.lang.String reason)

  DOCUMENT ME!

  Parameters:
    `reason` - DOCUMENT ME!

### getDisconnectReason

    public java.lang.String getDisconnectReason()

  DOCUMENT ME!

  Returns:
    DOCUMENT ME!

### isValidState

    public boolean isValidState(int state)

  DOCUMENT ME!

  Specified by:
    `isValidState` in class `State`
  Parameters:
    `state` - DOCUMENT ME!
  Returns:
    DOCUMENT ME!

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD