public abstract class AbstractIdentifyRequest extends AbstractMessage
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
applicationId
The Application id.
|
ByteBuffer |
byteBuffer
The Byte buffer.
|
protected String |
extraData
The Extra data.
|
protected String |
transactionServiceGroup
The Transaction service group.
|
protected String |
version
The Version.
|
ctx, 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| 构造器和说明 |
|---|
AbstractIdentifyRequest(String applicationId,
String transactionServiceGroup)
Instantiates a new Abstract identify request.
|
AbstractIdentifyRequest(String applicationId,
String transactionServiceGroup,
String extraData)
Instantiates a new Abstract identify request.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
decode(io.netty.buffer.ByteBuf in)
Decode boolean.
|
protected void |
doEncode()
Do encode.
|
byte[] |
encode()
Encode byte [ ].
|
String |
getApplicationId()
Gets application id.
|
String |
getExtraData()
Gets extra data.
|
String |
getTransactionServiceGroup()
Gets transaction service group.
|
String |
getVersion()
Gets version.
|
void |
setApplicationId(String applicationId)
Sets application id.
|
void |
setExtraData(String extraData)
Sets extra data.
|
void |
setTransactionServiceGroup(String transactionServiceGroup)
Sets transaction service group.
|
void |
setVersion(String version)
Sets version.
|
bytesToInt, getMergeRequestInstanceByCode, getMergeResponseInstanceByCode, getMsgInstanceByCode, intToBytesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTypeCodeprotected String version
protected String applicationId
protected String transactionServiceGroup
protected String extraData
public ByteBuffer byteBuffer
public AbstractIdentifyRequest(String applicationId, String transactionServiceGroup)
applicationId - the application idtransactionServiceGroup - the transaction service grouppublic String getVersion()
public void setVersion(String version)
version - the versionpublic String getApplicationId()
public void setApplicationId(String applicationId)
applicationId - the application idpublic String getTransactionServiceGroup()
public void setTransactionServiceGroup(String transactionServiceGroup)
transactionServiceGroup - the transaction service grouppublic String getExtraData()
public void setExtraData(String extraData)
extraData - the extra dataprotected void doEncode()
public final byte[] encode()
MessageCodecpublic boolean decode(io.netty.buffer.ByteBuf in)
MessageCodecdecode 在接口中 MessageCodecdecode 在类中 AbstractMessagein - the inCopyright © 2019 Seata. All rights reserved.