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

## com.mindbright.ssh
Class SSHPduInputStream

    java.lang.Object
      java.io.InputStream
          java.io.FilterInputStream
              java.io.DataInputStream
                  com.mindbright.ssh.SSHDataInputStream
                      com.mindbright.ssh.SSHPduInputStream

All Implemented Interfaces:
  java.io.DataInput, SSHPdu

public final class SSHPduInputStream
extends SSHDataInputStream
implements SSHPdu

Nested Class Summary
`static class` | `SSHPduInputStream.PduByteArrayInputStream`

Field Summary
`int` | `length`
`int` | `type`

Fields inherited from class java.io.FilterInputStream
`in`

Method Summary
`SSHPdu` | `createPdu()`
`SSHPduInputStream.PduByteArrayInputStream` | `getIn()`
`void` | `rawAdjustSize(int size)`
`byte[]` | `rawData()`
`int` | `rawOffset()`
`void` | `rawSetData(byte[] raw)`
`int` | `rawSize()`
`void` | `readFrom(java.io.InputStream in)`
`void` | `writeTo(java.io.OutputStream sshOut)`

Methods inherited from class com.mindbright.ssh.SSHDataInputStream
`readBigInteger, readString, readStringAsBytes`

Methods inherited from class java.io.DataInputStream
`read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes`

Methods inherited from class java.io.FilterInputStream
`available, close, mark, markSupported, read, reset, skip`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### type

    public int type

### length

    public int length

Method Detail

### createPdu

    public SSHPdu createPdu()

  Specified by:
    `createPdu` in interface `SSHPdu`

### readFrom

    public void readFrom(java.io.InputStream in)
                  throws java.io.IOException

  Specified by:
    `readFrom` in interface `SSHPdu`
  Throws:
    `java.io.IOException`

### writeTo

    public void writeTo(java.io.OutputStream sshOut)
                 throws java.io.IOException

  Specified by:
    `writeTo` in interface `SSHPdu`
  Throws:
    `java.io.IOException`

### getIn

    public SSHPduInputStream.PduByteArrayInputStream getIn()

### rawData

    public byte[] rawData()

  Specified by:
    `rawData` in interface `SSHPdu`

### rawSetData

    public void rawSetData(byte[] raw)

  Specified by:
    `rawSetData` in interface `SSHPdu`

### rawOffset

    public int rawOffset()

  Specified by:
    `rawOffset` in interface `SSHPdu`

### rawSize

    public int rawSize()

  Specified by:
    `rawSize` in interface `SSHPdu`

### rawAdjustSize

    public void rawAdjustSize(int size)

  Specified by:
    `rawAdjustSize` in interface `SSHPdu`

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