public abstract class AbstractTransactionResponse extends AbstractResultMessage
byteBufferctx, TYPE_BRANCH_COMMIT, TYPE_BRANCH_COMMIT_RESULT, TYPE_BRANCH_REGISTER, TYPE_BRANCH_REGISTER_RESULT, TYPE_BRANCH_ROLLBACK, TYPE_BRANCH_ROLLBACK_RESULT, TYPE_BRANCH_STATUS_REPORT, TYPE_BRANCH_STATUS_REPORT_RESULT, TYPE_GLOBAL_BEGIN, TYPE_GLOBAL_BEGIN_RESULT, TYPE_GLOBAL_COMMIT, TYPE_GLOBAL_COMMIT_RESULT, TYPE_GLOBAL_LOCK_QUERY, TYPE_GLOBAL_LOCK_QUERY_RESULT, TYPE_GLOBAL_ROLLBACK, TYPE_GLOBAL_ROLLBACK_RESULT, TYPE_GLOBAL_STATUS, TYPE_GLOBAL_STATUS_RESULT, TYPE_REG_CLT, TYPE_REG_CLT_RESULT, TYPE_REG_RM, TYPE_REG_RM_RESULT, TYPE_SEATA_MERGE, TYPE_SEATA_MERGE_RESULT, UTF8| 构造器和说明 |
|---|
AbstractTransactionResponse() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
decode(io.netty.buffer.ByteBuf in)
Decode boolean.
|
void |
decode(ByteBuffer byteBuffer)
Decode.
|
protected void |
doEncode()
Do encode.
|
TransactionExceptionCode |
getTransactionExceptionCode()
Gets transaction exception code.
|
void |
setTransactionExceptionCode(TransactionExceptionCode transactionExceptionCode)
Sets transaction exception code.
|
encode, getMsg, getResultCode, setMsg, setResultCodebytesToInt, getMergeRequestInstanceByCode, getMergeResponseInstanceByCode, getMsgInstanceByCode, intToBytesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTypeCodepublic TransactionExceptionCode getTransactionExceptionCode()
public void setTransactionExceptionCode(TransactionExceptionCode transactionExceptionCode)
transactionExceptionCode - the transaction exception codeprotected void doEncode()
AbstractResultMessagedoEncode 在类中 AbstractResultMessagepublic void decode(ByteBuffer byteBuffer)
MergedMessagedecode 在接口中 MergedMessagedecode 在类中 AbstractResultMessagebyteBuffer - the byte bufferpublic boolean decode(io.netty.buffer.ByteBuf in)
MessageCodecdecode 在接口中 MessageCodecdecode 在类中 AbstractResultMessagein - the inCopyright © 2019 Seata. All rights reserved.