Top Fields Constructors Methods
org.apache.derby.client.net

pack-priv Class Reply

extends Object
Class Inheritance
Known Direct Subclasses
org.apache.derby.client.net.NetConnectionReply
Imports
java.io.ByteArrayOutputStream, .IOException, java.nio.charset.Charset, java.util.Arrays, org.apache.derby.client.am.Agent, .SignedBinary, .SqlException, .DisconnectException, .ClientMessageId, org.apache.derby.shared.common.reference.SQLState, .MessageId

Field Summary

Modifier and TypeField and Description
protected Agent
protected byte[]
protected int
private int
private int[]
private int
protected static final int
private int
private boolean
private boolean
protected int
private static final int
pack-priv static final int
pack-priv static final int
protected boolean
protected byte[]
protected int
protected int
protected byte[]
private static final int
protected NetAgent
private int
protected int
private int
protected int
private int

Constructor Summary

AccessConstructor and Description
pack-priv
Reply(NetAgent netAgent, int bufferSize)

Method Summary

Modifier and TypeMethod and Description
private void
protected int
adjustDdmLength(int ddmLength, int length)

protected final void
adjustLengths(int length)

private void
compressBLayerData(int continueDssHeaderCount)

private void
decryptData(int gdsFormatter, int oldDssLength)

pack-priv final void
doSyntaxrmSemantics(int syntaxErrorCode)

protected final void
private int
ensureALayerDataInBuffer(int desiredDataSize)

protected final void
ensureBLayerDataInBuffer(int desiredDataSize)

private void
ensureSpaceInBufferForFill(int desiredSpace)

private int
fill(int minimumBytesNeeded)

pack-priv final ByteArrayOutputStream
pack-priv final int
pack-priv final ByteArrayOutputStream
pack-priv final int
pack-priv final void
pack-priv final void
mark()

protected final void
matchCodePoint(int expectedCodePoint)

protected final void
parseLengthAndMatchCodePoint(int expectedCodePoint)

protected final int
private void
protected final int
peekFastBytes(byte[] b, int offset, int length)

protected final int
protected final boolean
protected final int
protected final int
peekTotalColumnCount(int tripletLength)

protected final void
private int
protected final void
pack-priv final byte
pack-priv final byte[]
readBytes(int length)

pack-priv final byte[]
private void
private void
private void
pack-priv final byte
pack-priv final byte[]
readFastBytes(int length)

pack-priv final int
pack-priv final void
readFastIntArray(int[] array)

pack-priv final byte[]
pack-priv final long
pack-priv final short
pack-priv final String
readFastString(int length)

pack-priv final String
readFastString(int length, Charset encoding)

pack-priv final int
pack-priv final int
pack-priv final int
private int
pack-priv final short
pack-priv final String
readString(int length, Charset encoding)

pack-priv final String
pack-priv final int
pack-priv final int
pack-priv final int[]
private void
shiftBuffer(byte[] destinationBuffer)

pack-priv final void
skipBytes(int length)

pack-priv final void
pack-priv final void
skipFastBytes(int length)

private int
skipSQLDHROW(int offset)

protected final void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

agent_back to summary
protected Agent agent_
buffer_back to summary
protected byte[] buffer_
count_back to summary
protected int count_
currentPos_back to summary
private int currentPos_
ddmCollectionLenStack_back to summary
private int[] ddmCollectionLenStack_
ddmScalarLen_back to summary
private int ddmScalarLen_
DEFAULT_BUFFER_SIZEback to summary
protected static final int DEFAULT_BUFFER_SIZE
dssCorrelationID_back to summary
private int dssCorrelationID_
dssIsChainedWithSameID_back to summary
private boolean dssIsChainedWithSameID_
dssIsContinued_back to summary
private boolean dssIsContinued_
dssLength_back to summary
protected int dssLength_
EMPTY_STACKback to summary
private static final int EMPTY_STACK
END_OF_COLLECTIONback to summary
pack-priv static final int END_OF_COLLECTION
END_OF_SAME_ID_CHAINback to summary
pack-priv static final int END_OF_SAME_ID_CHAIN
ensuredLengthForDecryption_back to summary
protected boolean ensuredLengthForDecryption_
longBufferForDecryption_back to summary
protected byte[] longBufferForDecryption_
longCountForDecryption_back to summary
protected int longCountForDecryption_
longPosForDecryption_back to summary
protected int longPosForDecryption_
longValueForDecryption_back to summary
protected byte[] longValueForDecryption_
MAX_MARKS_NESTINGback to summary
private static final int MAX_MARKS_NESTING
netAgent_back to summary
protected NetAgent netAgent_
peekedCodePoint_back to summary
private int peekedCodePoint_
peekedLength_back to summary
protected int peekedLength_
peekedNumOfExtendedLenBytes_back to summary
private int peekedNumOfExtendedLenBytes_
pos_back to summary
protected int pos_
topDdmCollectionStack_back to summary
private int topDdmCollectionStack_

Constructor Detail

Replyback to summary
pack-priv Reply(NetAgent netAgent, int bufferSize)

Method Detail

adjustCollectionAndDssLengthsback to summary
private void adjustCollectionAndDssLengths(int length)
adjustDdmLengthback to summary
protected int adjustDdmLength(int ddmLength, int length)
adjustLengthsback to summary
protected final void adjustLengths(int length)
compressBLayerDataback to summary
private void compressBLayerData(int continueDssHeaderCount) throws DisconnectException
decryptDataback to summary
private void decryptData(int gdsFormatter, int oldDssLength) throws DisconnectException
doSyntaxrmSemanticsback to summary
pack-priv final void doSyntaxrmSemantics(int syntaxErrorCode) throws DisconnectException
endOfSameIdChainDataback to summary
protected final void endOfSameIdChainData() throws DisconnectException
ensureALayerDataInBufferback to summary
private int ensureALayerDataInBuffer(int desiredDataSize) throws DisconnectException
ensureBLayerDataInBufferback to summary
protected final void ensureBLayerDataInBuffer(int desiredDataSize) throws DisconnectException
ensureSpaceInBufferForFillback to summary
private void ensureSpaceInBufferForFill(int desiredSpace)
fillback to summary
private int fill(int minimumBytesNeeded) throws DisconnectException
getDataback to summary
pack-priv final ByteArrayOutputStream getData(ByteArrayOutputStream existingBuffer) throws DisconnectException
getDdmLengthback to summary
pack-priv final int getDdmLength()
getFastDataback to summary
pack-priv final ByteArrayOutputStream getFastData(ByteArrayOutputStream existingBuffer) throws DisconnectException
getFastSkipSQLCARDrowLengthback to summary
pack-priv final int getFastSkipSQLCARDrowLength()
initializeback to summary
pack-priv final void initialize()
markback to summary
pack-priv final void mark()
matchCodePointback to summary
protected final void matchCodePoint(int expectedCodePoint) throws DisconnectException
parseLengthAndMatchCodePointback to summary
protected final void parseLengthAndMatchCodePoint(int expectedCodePoint) throws DisconnectException
peekCodePointback to summary
protected final int peekCodePoint() throws DisconnectException
peekExtendedLengthback to summary
private void peekExtendedLength() throws DisconnectException
peekFastBytesback to summary
protected final int peekFastBytes(byte[] b, int offset, int length) throws DisconnectException
peekFastLengthback to summary
protected final int peekFastLength() throws DisconnectException
peekForNullSqlcagrpback to summary
protected final boolean peekForNullSqlcagrp()
peekNumOfColumnsback to summary
protected final int peekNumOfColumns() throws DisconnectException
peekTotalColumnCountback to summary
protected final int peekTotalColumnCount(int tripletLength) throws DisconnectException
popCollectionStackback to summary
protected final void popCollectionStack()
popMarkback to summary
private int popMark()
pushLengthOnCollectionStackback to summary
protected final void pushLengthOnCollectionStack()
readByteback to summary
pack-priv final byte readByte() throws DisconnectException
readBytesback to summary
pack-priv final byte[] readBytes(int length) throws DisconnectException
readBytesback to summary
pack-priv final byte[] readBytes() throws DisconnectException
readDSSContinuationHeaderback to summary
private void readDSSContinuationHeader() throws DisconnectException
readDssHeaderback to summary
private void readDssHeader() throws DisconnectException
readExtendedLengthback to summary
private void readExtendedLength() throws DisconnectException
readFastByteback to summary
pack-priv final byte readFastByte() throws DisconnectException
readFastBytesback to summary
pack-priv final byte[] readFastBytes(int length) throws DisconnectException
readFastIntback to summary
pack-priv final int readFastInt() throws DisconnectException
readFastIntArrayback to summary
pack-priv final void readFastIntArray(int[] array) throws DisconnectException
readFastLDBytesback to summary
pack-priv final byte[] readFastLDBytes() throws DisconnectException
readFastLongback to summary
pack-priv final long readFastLong() throws DisconnectException
readFastShortback to summary
pack-priv final short readFastShort() throws DisconnectException
readFastStringback to summary
pack-priv final String readFastString(int length) throws DisconnectException
readFastStringback to summary
pack-priv final String readFastString(int length, Charset encoding)
readFastUnsignedByteback to summary
pack-priv final int readFastUnsignedByte() throws DisconnectException
readFastUnsignedShortback to summary
pack-priv final int readFastUnsignedShort() throws DisconnectException
readIntback to summary
pack-priv final int readInt() throws DisconnectException
readLengthAndCodePointback to summary
private int readLengthAndCodePoint() throws DisconnectException
readShortback to summary
pack-priv final short readShort() throws DisconnectException
readStringback to summary
pack-priv final String readString(int length, Charset encoding) throws DisconnectException
readStringback to summary
pack-priv final String readString() throws DisconnectException
readUnsignedByteback to summary
pack-priv final int readUnsignedByte() throws DisconnectException
readUnsignedShortback to summary
pack-priv final int readUnsignedShort() throws DisconnectException
readUnsignedShortListback to summary
pack-priv final int[] readUnsignedShortList() throws DisconnectException
shiftBufferback to summary
private void shiftBuffer(byte[] destinationBuffer)
skipBytesback to summary
pack-priv final void skipBytes(int length) throws DisconnectException
skipBytesback to summary
pack-priv final void skipBytes() throws DisconnectException
skipFastBytesback to summary
pack-priv final void skipFastBytes(int length) throws DisconnectException
skipSQLDHROWback to summary
private int skipSQLDHROW(int offset)
startSameIdChainParseback to summary
protected final void startSameIdChainParse() throws DisconnectException