CommandCodec

Constructors

this
this(C cmd)
Undocumented in source.

Members

Functions

getCommand
C getCommand()
Undocumented in source. Be warned that the author may not have intended to support it.
handleNoticeResponse
void handleNoticeResponse(NoticeResponse noticeResponse)
Undocumented in source. Be warned that the author may not have intended to support it.
handleReadyForQuery
void handleReadyForQuery(TxStatus txStatus)

<p> The frontend can issue commands. Every message returned from the backend has transaction status that would be one of the following <p> IDLE : Not in a transaction block <p> ACTIVE : In transaction block <p> FAILED : Failed transaction block (queries will be rejected until block is ended)

Variables

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

Inherited Members

From CommandCodecBase

_failure
Throwable _failure;
Undocumented in source.
noticeHandler
EventHandler!(NoticeResponse) noticeHandler;
Undocumented in source.
completionHandler
EventHandler!(ICommandResponse) completionHandler;
Undocumented in source.
encode
void encode(PgEncoder encoder)
Undocumented in source.
decodeRow
void decodeRow(int len, ByteBuf inBuffer)
Undocumented in source. Be warned that the author may not have intended to support it.
handleBackendKeyData
void handleBackendKeyData(int processId, int secretKey)
Undocumented in source. Be warned that the author may not have intended to support it.
handleEmptyQueryResponse
void handleEmptyQueryResponse()
Undocumented in source. Be warned that the author may not have intended to support it.
handleParameterDescription
void handleParameterDescription(PgParamDesc paramDesc)
Undocumented in source. Be warned that the author may not have intended to support it.
handleParseComplete
void handleParseComplete()
Undocumented in source. Be warned that the author may not have intended to support it.
handleCloseComplete
void handleCloseComplete()
Undocumented in source. Be warned that the author may not have intended to support it.
handleRowDescription
void handleRowDescription(PgRowDesc rowDescription)
Undocumented in source. Be warned that the author may not have intended to support it.
handleNoData
void handleNoData()
Undocumented in source. Be warned that the author may not have intended to support it.
handleNoticeResponse
void handleNoticeResponse(NoticeResponse noticeResponse)
Undocumented in source.
handleErrorResponse
void handleErrorResponse(ErrorResponse errorResponse)
Undocumented in source. Be warned that the author may not have intended to support it.
handlePortalSuspended
void handlePortalSuspended()
Undocumented in source. Be warned that the author may not have intended to support it.
handleBindComplete
void handleBindComplete()
Undocumented in source. Be warned that the author may not have intended to support it.
handleCommandComplete
void handleCommandComplete(int updated)
Undocumented in source. Be warned that the author may not have intended to support it.
handleAuthenticationMD5Password
void handleAuthenticationMD5Password(byte[] salt)
Undocumented in source. Be warned that the author may not have intended to support it.
handleAuthenticationClearTextPassword
void handleAuthenticationClearTextPassword()
Undocumented in source. Be warned that the author may not have intended to support it.
handleAuthenticationOk
void handleAuthenticationOk()
Undocumented in source. Be warned that the author may not have intended to support it.
handleParameterStatus
void handleParameterStatus(string key, string value)
Undocumented in source. Be warned that the author may not have intended to support it.
handleReadyForQuery
void handleReadyForQuery(TxStatus txStatus)
Undocumented in source.
getCommand
ICommand getCommand()
Undocumented in source.

Meta