CommandCodec

Undocumented in source.

Constructors

this
this(C cmd)
Undocumented in source.

Members

Functions

allocateBuffer
ByteBuf allocateBuffer()
Undocumented in source. Be warned that the author may not have intended to support it.
allocateBuffer
ByteBuf allocateBuffer(int capacity)
Undocumented in source. Be warned that the author may not have intended to support it.
decodeColumnDefinitionPacketPayload
ColumnDefinition decodeColumnDefinitionPacketPayload(ByteBuf payload)
Undocumented in source. Be warned that the author may not have intended to support it.
decodeEofPacketPayload
EofPacket decodeEofPacketPayload(ByteBuf payload)
Undocumented in source. Be warned that the author may not have intended to support it.
decodeOkPacketPayload
OkPacket decodeOkPacketPayload(ByteBuf payload, Charset charset)
Undocumented in source. Be warned that the author may not have intended to support it.
encode
void encode(MySQLEncoder encoder)
Undocumented in source. Be warned that the author may not have intended to support it.
getCommand
C getCommand()
Undocumented in source. Be warned that the author may not have intended to support it.
handleErrorPacketPayload
void handleErrorPacketPayload(ByteBuf payload)
Undocumented in source. Be warned that the author may not have intended to support it.
handleOkPacketOrErrorPacketPayload
void handleOkPacketOrErrorPacketPayload(ByteBuf payload)
Undocumented in source. Be warned that the author may not have intended to support it.
isDeprecatingEofFlagEnabled
bool isDeprecatingEofFlagEnabled()
Undocumented in source. Be warned that the author may not have intended to support it.
readRestOfPacketString
string readRestOfPacketString(ByteBuf payload, Charset charset)
Undocumented in source. Be warned that the author may not have intended to support it.
sendNonSplitPacket
void sendNonSplitPacket(ByteBuf packet)
Undocumented in source. Be warned that the author may not have intended to support it.
sendPacket
void sendPacket(ByteBuf packet, int payloadLength)
Undocumented in source. Be warned that the author may not have intended to support it.
skipEofPacketIfNeeded
void skipEofPacketIfNeeded(ByteBuf payload)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

cmd
C cmd;
Undocumented in source.
result
R result;
Undocumented in source.

Inherited Members

From CommandCodecBase

sequenceId
int sequenceId;
Undocumented in source.
encoder
MySQLEncoder encoder;
Undocumented in source.
failure
Throwable failure;
Undocumented in source.
completionHandler
EventHandler!(ICommandResponse) completionHandler;
Undocumented in source.
encode
void encode(MySQLEncoder encoder)
Undocumented in source.
decodePayload
void decodePayload(ByteBuf payload, int payloadLength, int sequenceId)
Undocumented in source.
getCommand
ICommand getCommand()
Undocumented in source.

Meta