com.mindbright.ssh2
Class SSH2TransportPDUPool.PoolPDU

java.lang.Object
  extended bycom.mindbright.ssh2.SSH2DataBuffer
      extended bycom.mindbright.ssh2.SSH2TransportPDU
          extended bycom.mindbright.ssh2.SSH2TransportPDUPool.PoolPDU
Enclosing class:
SSH2TransportPDUPool

protected class SSH2TransportPDUPool.PoolPDU
extends SSH2TransportPDU


Field Summary
 
Fields inherited from class com.mindbright.ssh2.SSH2TransportPDU
factoryInstance, PACKET_DEFAULT_SIZE, PACKET_MAX_SIZE, PACKET_MIN_SIZE, padSize, pktDefaultSize, pktSize, pktType
 
Fields inherited from class com.mindbright.ssh2.SSH2DataBuffer
BOOLEAN_FALSE, BOOLEAN_TRUE, data, rPos, wPos
 
Constructor Summary
protected SSH2TransportPDUPool.PoolPDU(int pktType, int bufSize)
           
 
Method Summary
 void release()
          Release this PDU.
 
Methods inherited from class com.mindbright.ssh2.SSH2TransportPDU
checkMac, createIncomingPacket, createIncomingPacket, createOutgoingPacket, createOutgoingPacket, createPDU, createPDU, createTranceiverContext, createTranceiverContextImpl, getPayloadLength, getPayloadOffset, getType, makeCopy, readFrom, readNextNFrom, setFactoryInstance, setType, toString, writeByte, writeRaw, writeString, writeTo
 
Methods inherited from class com.mindbright.ssh2.SSH2DataBuffer
getData, getMaxReadSize, getMaxSize, getMaxWriteSize, getRPos, getWPos, readBigInt, readBigIntBits, readBoolean, readByte, readInt, readJavaString, readLong, readRaw, readRaw, readRestRaw, readString, readString, reset, setData, setRPos, setWPos, writeBigInt, writeBigIntBits, writeBoolean, writeInt, writeLong, writeRaw, writeString, writeString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SSH2TransportPDUPool.PoolPDU

protected SSH2TransportPDUPool.PoolPDU(int pktType,
                                       int bufSize)
Method Detail

release

public void release()
Description copied from class: SSH2TransportPDU
Release this PDU. This means that the PDU can be freed or reused for another packet.

Overrides:
release in class SSH2TransportPDU