org.apache.derby.client.net
Class Reply
java.lang.Object
org.apache.derby.client.net.Reply
- Direct Known Subclasses:
- NetConnectionReply
public class Reply
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
agent_
protected Agent agent_
netAgent_
protected NetAgent netAgent_
ccsidManager_
private CcsidManager ccsidManager_
DEFAULT_BUFFER_SIZE
protected static final int DEFAULT_BUFFER_SIZE
- See Also:
- Constant Field Values
buffer_
protected byte[] buffer_
pos_
protected int pos_
count_
protected int count_
topDdmCollectionStack_
private int topDdmCollectionStack_
MAX_MARKS_NESTING
private static final int MAX_MARKS_NESTING
- See Also:
- Constant Field Values
ddmCollectionLenStack_
private int[] ddmCollectionLenStack_
ddmScalarLen_
private int ddmScalarLen_
EMPTY_STACK
private static final int EMPTY_STACK
- See Also:
- Constant Field Values
ensuredLengthForDecryption_
protected boolean ensuredLengthForDecryption_
longBufferForDecryption_
protected byte[] longBufferForDecryption_
longPosForDecryption_
protected int longPosForDecryption_
longValueForDecryption_
protected byte[] longValueForDecryption_
longCountForDecryption_
protected int longCountForDecryption_
dssLength_
protected int dssLength_
dssIsContinued_
protected boolean dssIsContinued_
dssIsChainedWithSameID_
private boolean dssIsChainedWithSameID_
dssIsChainedWithDiffID_
private boolean dssIsChainedWithDiffID_
dssCorrelationID_
protected int dssCorrelationID_
peekedLength_
protected int peekedLength_
peekedCodePoint_
protected int peekedCodePoint_
peekedNumOfExtendedLenBytes_
private int peekedNumOfExtendedLenBytes_
currentPos_
private int currentPos_
END_OF_COLLECTION
public static final int END_OF_COLLECTION
- See Also:
- Constant Field Values
END_OF_SAME_ID_CHAIN
public static final int END_OF_SAME_ID_CHAIN
- See Also:
- Constant Field Values
Reply
Reply(NetAgent netAgent,
int bufferSize)
initialize
final void initialize()
getDdmLength
final int getDdmLength()
shiftBuffer
private final void shiftBuffer(byte[] destinationBuffer)
ensureSpaceInBufferForFill
protected final void ensureSpaceInBufferForFill(int desiredSpace)
fill
protected int fill(int minimumBytesNeeded)
throws DisconnectException
- Throws:
DisconnectException
ensureALayerDataInBuffer
protected final int ensureALayerDataInBuffer(int desiredDataSize)
throws DisconnectException
- Throws:
DisconnectException
ensureBLayerDataInBuffer
protected final void ensureBLayerDataInBuffer(int desiredDataSize)
throws DisconnectException
- Throws:
DisconnectException
compressBLayerData
private final void compressBLayerData(int continueDssHeaderCount)
throws DisconnectException
- Throws:
DisconnectException
readDssHeader
protected final void readDssHeader()
throws DisconnectException
- Throws:
DisconnectException
decryptData
private final void decryptData(int gdsFormatter,
int oldDssLength)
throws DisconnectException
- Throws:
DisconnectException
readUnsignedShort
final int readUnsignedShort()
throws DisconnectException
- Throws:
DisconnectException
readShort
final short readShort()
throws DisconnectException
- Throws:
DisconnectException
readInt
final int readInt()
throws DisconnectException
- Throws:
DisconnectException
readIntArray
final void readIntArray(int[] array)
throws DisconnectException
- Throws:
DisconnectException
readLong
final long readLong()
throws DisconnectException
- Throws:
DisconnectException
readUnsignedShortList
final int[] readUnsignedShortList()
throws DisconnectException
- Throws:
DisconnectException
readUnsignedByte
final int readUnsignedByte()
throws DisconnectException
- Throws:
DisconnectException
readByte
final byte readByte()
throws DisconnectException
- Throws:
DisconnectException
readBoolean
final boolean readBoolean()
throws DisconnectException
- Throws:
DisconnectException
readString
final java.lang.String readString(int length)
throws DisconnectException
- Throws:
DisconnectException
readString
final java.lang.String readString(int length,
java.lang.String encoding)
throws DisconnectException
- Throws:
DisconnectException
readString
final java.lang.String readString()
throws DisconnectException
- Throws:
DisconnectException
readBytes
final byte[] readBytes(int length)
throws DisconnectException
- Throws:
DisconnectException
readBytes
final byte[] readBytes()
throws DisconnectException
- Throws:
DisconnectException
readLDBytes
final byte[] readLDBytes()
throws DisconnectException
- Throws:
DisconnectException
skipBytes
final void skipBytes(int length)
throws DisconnectException
- Throws:
DisconnectException
skipBytes
final void skipBytes()
throws DisconnectException
- Throws:
DisconnectException
getData
final java.io.ByteArrayOutputStream getData(java.io.ByteArrayOutputStream existingBuffer)
throws DisconnectException
- Throws:
DisconnectException
readDSSContinuationHeader
protected final void readDSSContinuationHeader()
throws DisconnectException
- Throws:
DisconnectException
doSyntaxrmSemantics
final void doSyntaxrmSemantics(int syntaxErrorCode)
throws DisconnectException
- Throws:
DisconnectException
pushLengthOnCollectionStack
protected final void pushLengthOnCollectionStack()
adjustLengths
protected final void adjustLengths(int length)
adjustDdmLength
protected int adjustDdmLength(int ddmLength,
int length)
popCollectionStack
protected final void popCollectionStack()
peekCodePoint
protected final int peekCodePoint()
throws DisconnectException
- Throws:
DisconnectException
peekLength
protected final int peekLength()
throws DisconnectException
- Throws:
DisconnectException
peekFastBytes
protected final int peekFastBytes(byte[] b,
int offset,
int length)
throws DisconnectException
- Throws:
DisconnectException
parseLengthAndMatchCodePoint
protected final void parseLengthAndMatchCodePoint(int expectedCodePoint)
throws DisconnectException
- Throws:
DisconnectException
readLengthAndCodePoint
protected final int readLengthAndCodePoint()
throws DisconnectException
- Throws:
DisconnectException
readExtendedLength
private final void readExtendedLength()
throws DisconnectException
- Throws:
DisconnectException
adjustCollectionAndDssLengths
private final void adjustCollectionAndDssLengths(int length)
startSameIdChainParse
protected final void startSameIdChainParse()
throws DisconnectException
- Throws:
DisconnectException
endOfSameIdChainData
protected final void endOfSameIdChainData()
throws DisconnectException
- Throws:
DisconnectException
peekTotalColumnCount
protected final int peekTotalColumnCount(int tripletLength)
throws DisconnectException
- Throws:
DisconnectException
peekExtendedLength
private final void peekExtendedLength()
throws DisconnectException
- Throws:
DisconnectException
readFastUnsignedByte
final int readFastUnsignedByte()
throws DisconnectException
- Throws:
DisconnectException
readFastShort
final short readFastShort()
throws DisconnectException
- Throws:
DisconnectException
readFastUnsignedShort
final int readFastUnsignedShort()
throws DisconnectException
- Throws:
DisconnectException
readFastInt
final int readFastInt()
throws DisconnectException
- Throws:
DisconnectException
readFastString
final java.lang.String readFastString(int length)
throws DisconnectException
- Throws:
DisconnectException
readFastBytes
final byte[] readFastBytes(int length)
throws DisconnectException
- Throws:
DisconnectException
peekFastLength
protected final int peekFastLength()
throws DisconnectException
- Throws:
DisconnectException
skipFastBytes
final void skipFastBytes(int length)
throws DisconnectException
- Throws:
DisconnectException
readFastIntArray
final void readFastIntArray(int[] array)
throws DisconnectException
- Throws:
DisconnectException
readFastString
final java.lang.String readFastString(int length,
java.lang.String encoding)
throws DisconnectException
- Throws:
DisconnectException
readFastLDBytes
final byte[] readFastLDBytes()
throws DisconnectException
- Throws:
DisconnectException
readFastLong
final long readFastLong()
throws DisconnectException
- Throws:
DisconnectException
readFastByte
final byte readFastByte()
throws DisconnectException
- Throws:
DisconnectException
mark
final void mark()
popMark
final int popMark()
getFastSkipSQLCARDrowLength
final int getFastSkipSQLCARDrowLength()
getFastData
final java.io.ByteArrayOutputStream getFastData(java.io.ByteArrayOutputStream existingBuffer)
throws DisconnectException
- Throws:
DisconnectException
matchCodePoint
protected final void matchCodePoint(int expectedCodePoint)
throws DisconnectException
- Throws:
DisconnectException
peekNumOfColumns
protected final int peekNumOfColumns()
throws DisconnectException
- Throws:
DisconnectException
peekForNullSqlcagrp
protected final boolean peekForNullSqlcagrp()
skipSQLDHROW
private final int skipSQLDHROW(int offset)
throws DisconnectException
- Throws:
DisconnectException
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.