public class BranchReportRequest extends AbstractTransactionRequestToTC
handlerctx, LOGGER, serialVersionUID, UTF8| 构造器和说明 |
|---|
BranchReportRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getApplicationData()
Gets application data.
|
long |
getBranchId()
Gets branch id.
|
BranchType |
getBranchType()
Gets branch type.
|
String |
getResourceId()
Gets resource id.
|
BranchStatus |
getStatus()
Gets status.
|
short |
getTypeCode()
return the message type
|
String |
getXid()
Gets xid.
|
AbstractTransactionResponse |
handle(RpcContext rpcContext)
Handle abstract transaction response.
|
void |
setApplicationData(String applicationData)
Sets application data.
|
void |
setBranchId(long branchId)
Sets branch id.
|
void |
setBranchType(BranchType branchType)
Sets branch type.
|
void |
setResourceId(String resourceId)
Sets resource id.
|
void |
setStatus(BranchStatus status)
Sets status.
|
void |
setXid(String xid)
Sets xid.
|
String |
toString() |
setTCInboundHandlerbytesToInt, intToBytespublic String getXid()
public void setXid(String xid)
xid - the xidpublic long getBranchId()
public void setBranchId(long branchId)
branchId - the branch idpublic String getResourceId()
public void setResourceId(String resourceId)
resourceId - the resource idpublic BranchType getBranchType()
public void setBranchType(BranchType branchType)
branchType - the branch typepublic BranchStatus getStatus()
public void setStatus(BranchStatus status)
status - the statuspublic String getApplicationData()
public void setApplicationData(String applicationData)
applicationData - the application datapublic short getTypeCode()
MessageTypeAwarepublic AbstractTransactionResponse handle(RpcContext rpcContext)
AbstractTransactionRequesthandle 在类中 AbstractTransactionRequestrpcContext - the rpc contextpublic String toString()
toString 在类中 AbstractMessageCopyright © 2020 Seata. All rights reserved.