public class OdbcMessageParser extends Object implements ClientListenerMessageParser
| Modifier and Type | Field and Description |
|---|---|
protected GridKernalContext |
ctx
Kernal context.
|
protected static int |
INIT_CAP
Initial output stream capacity.
|
| Constructor and Description |
|---|
OdbcMessageParser(GridKernalContext ctx,
ClientListenerProtocolVersion ver) |
| Modifier and Type | Method and Description |
|---|---|
ClientListenerRequest |
decode(byte[] msg)
Decode request from byte array.
|
int |
decodeCommandType(byte[] msg)
Decode command type.
|
long |
decodeRequestId(byte[] msg)
Decode request Id.
|
byte[] |
encode(ClientListenerResponse msg0)
Encode response to byte array.
|
protected static final int INIT_CAP
protected final GridKernalContext ctx
public OdbcMessageParser(GridKernalContext ctx, ClientListenerProtocolVersion ver)
ctx - Context.ver - Protocol version.public ClientListenerRequest decode(byte[] msg)
decode in interface ClientListenerMessageParsermsg - Message.public byte[] encode(ClientListenerResponse msg0)
encode in interface ClientListenerMessageParsermsg0 - Response.public int decodeCommandType(byte[] msg)
decodeCommandType in interface ClientListenerMessageParsermsg - Message.public long decodeRequestId(byte[] msg)
decodeRequestId in interface ClientListenerMessageParsermsg - Message.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.0 Release Date : October 15 2020