public class BranchRegisterRequest extends AbstractTransactionRequestToTC
handlerctx, LOGGER, serialVersionUID, UTF8| Constructor and Description |
|---|
BranchRegisterRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationData()
Gets application data.
|
BranchType |
getBranchType()
Gets branch type.
|
String |
getLockKey()
Gets lock key.
|
String |
getResourceId()
Gets resource id.
|
short |
getTypeCode()
Gets type code.
|
String |
getXid()
Gets xid.
|
AbstractTransactionResponse |
handle(RpcContext rpcContext)
Handle abstract transaction response.
|
void |
setApplicationData(String applicationData)
Sets application data.
|
void |
setBranchType(BranchType branchType)
Sets branch type.
|
void |
setLockKey(String lockKey)
Sets lock key.
|
void |
setResourceId(String resourceId)
Sets resource id.
|
void |
setXid(String xid)
Sets xid.
|
String |
toString() |
setTCInboundHandlerbytesToInt, intToBytespublic String getXid()
public void setXid(String xid)
xid - the xidpublic BranchType getBranchType()
public void setBranchType(BranchType branchType)
branchType - the branch typepublic String getLockKey()
public void setLockKey(String lockKey)
lockKey - the lock keypublic String getResourceId()
public void setResourceId(String resourceId)
resourceId - the resource idpublic short getTypeCode()
MessageTypeAwarepublic String getApplicationData()
public void setApplicationData(String applicationData)
applicationData - the application datapublic AbstractTransactionResponse handle(RpcContext rpcContext)
AbstractTransactionRequesthandle in class AbstractTransactionRequestrpcContext - the rpc contextpublic String toString()
toString in class AbstractMessageCopyright © 2023 Seata. All rights reserved.