public abstract class DRDARequest extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DB2_DRDA_CLIENT_ID |
static String |
DB2_DRDA_SERVER_ID |
protected ConnectionMetaData |
metadata |
| Constructor and Description |
|---|
DRDARequest(io.netty.buffer.ByteBuf buffer,
ConnectionMetaData metadata) |
| Modifier and Type | Method and Description |
|---|---|
void |
completeCommand()
Signal the completion of a DSS Layer A object.
|
protected void |
createCommand() |
protected void |
markLengthBytes(int codePoint) |
protected void |
updateLengthBytes() |
public static final String DB2_DRDA_SERVER_ID
public static final String DB2_DRDA_CLIENT_ID
protected final ConnectionMetaData metadata
public DRDARequest(io.netty.buffer.ByteBuf buffer,
ConnectionMetaData metadata)
protected final void createCommand()
public final void completeCommand()
The length of the DSS object will be calculated based on the difference
between the start of the DSS, saved in the variable
dssLengthLocation_, and the current offset into the buffer which
marks the end of the data.
In the event the length requires the use of continuation DSS headers, one for each 32k chunk of data, the data will be shifted and the continuation headers will be inserted with the correct values as needed. Note: In the future, we may try to optimize this approach in an attempt to avoid these shifts.
protected final void updateLengthBytes()
protected final void markLengthBytes(int codePoint)
Copyright © 2021. All rights reserved.