com.mindbright.ssh2
public class SSH2TransportPDUPool extends SSH2TransportPDU
| Modifier and Type | Class and Description | 
|---|---|
protected class  | 
SSH2TransportPDUPool.PoolPDU  | 
| Modifier and Type | Field and Description | 
|---|---|
protected static int | 
POOL_SIZE  | 
factoryInstance, PACKET_DEFAULT_SIZE, PACKET_MAX_SIZE, PACKET_MIN_SIZE, padSize, pktDefaultSize, pktSize, pktType, totSizeCompressed, totSizeUncompressedBOOLEAN_FALSE, BOOLEAN_TRUE, data, rPos, wPos| Modifier | Constructor and Description | 
|---|---|
protected  | 
SSH2TransportPDUPool()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected SSH2TransportPDU | 
createPDU(int pktType,
         int bufSize)
Create a new PDU for a packet. 
 | 
protected void | 
releasePDU(SSH2TransportPDUPool.PoolPDU pdu)
Internal class which releases an incoming PDU. 
 | 
checkMac, createIncomingPacket, createIncomingPacket, createInPDU, createOutgoingPacket, createOutgoingPacket, createOutPDU, createTransceiverContext, createTransceiverContextImpl, fillData, getCompressedSize, getNeededBytes, getPayloadLength, getPayloadOffset, getType, getUncompressedSize, initReceive, makeCopy, processData, release, setFactoryInstance, setType, toString, writeByte, writeRaw, writeString, writeTogetData, getMaxReadSize, getMaxSize, getMaxWriteSize, getRPos, getWPos, readBigInt, readBigIntBits, readBoolean, readByte, readInt, readJavaString, readLong, readRaw, readRaw, readRestRaw, readString, readString, readUInt, reset, resize, setData, setRPos, setWPos, writeBigInt, writeBigIntBits, writeBoolean, writeInt, writeInt, writeLong, writeRaw, writeString, writeString, writeUTF8Stringprotected SSH2TransportPDU createPDU(int pktType, int bufSize)
SSH2TransportPDUcreatePDU in class SSH2TransportPDUpktType - Type of packet to create.bufSize - How many bytes it should have room for.protected void releasePDU(SSH2TransportPDUPool.PoolPDU pdu)