com.mindbright.ssh
public final class SSHPduInputStream extends SSHDataInputStream implements SSHPdu
Modifier and Type | Class and Description |
---|---|
static class |
SSHPduInputStream.PduByteArrayInputStream |
Modifier and Type | Method and Description |
---|---|
SSHPdu |
createPdu() |
SSHPduInputStream.PduByteArrayInputStream |
getIn() |
java.nio.ByteBuffer |
initReceive(NonBlockingInput nbin) |
java.nio.ByteBuffer |
processData(NonBlockingInput nbin,
java.nio.ByteBuffer buf) |
void |
rawAdjustSize(int size) |
byte[] |
rawData() |
int |
rawOffset() |
void |
rawSetData(byte[] raw) |
int |
rawSize() |
void |
readFrom(java.io.InputStream in) |
void |
writeTo(NonBlockingOutput sshOut) |
void |
writeTo(java.io.OutputStream sshOut) |
readBigInteger, readString, readStringAsBytes
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes
public java.nio.ByteBuffer initReceive(NonBlockingInput nbin)
public java.nio.ByteBuffer processData(NonBlockingInput nbin, java.nio.ByteBuffer buf) throws java.io.IOException
java.io.IOException
public void writeTo(NonBlockingOutput sshOut) throws java.io.IOException
public void readFrom(java.io.InputStream in) throws java.io.IOException
public void writeTo(java.io.OutputStream sshOut) throws java.io.IOException
public SSHPduInputStream.PduByteArrayInputStream getIn()
public void rawSetData(byte[] raw)
rawSetData
in interface SSHPdu
public void rawAdjustSize(int size)
rawAdjustSize
in interface SSHPdu