public class BranchRegisterResponse extends AbstractTransactionResponse implements Serializable
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| 构造器和说明 |
|---|
BranchRegisterResponse() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
decode(ByteBuffer byteBuffer)
Decode.
|
protected void |
doEncode()
Do encode.
|
long |
getBranchId()
Gets branch id.
|
short |
getTypeCode()
Gets type code.
|
void |
setBranchId(long branchId)
Sets branch id.
|
String |
toString() |
decode, getTransactionExceptionCode, setTransactionExceptionCodeencode, getMsg, getResultCode, setMsg, setResultCodebytesToInt, getMergeRequestInstanceByCode, getMergeResponseInstanceByCode, getMsgInstanceByCode, intToBytespublic long getBranchId()
public void setBranchId(long branchId)
branchId - the branch idpublic short getTypeCode()
MessageCodecgetTypeCode 在接口中 MessageCodecprotected void doEncode()
AbstractResultMessagedoEncode 在类中 AbstractTransactionResponsepublic void decode(ByteBuffer byteBuffer)
MergedMessagedecode 在接口中 MergedMessagedecode 在类中 AbstractTransactionResponsebyteBuffer - the byte bufferCopyright © 2019 Seata. All rights reserved.