public class RpcMessage extends Object
| 构造器和说明 |
|---|
RpcMessage() |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
getBody()
Gets body.
|
long |
getId()
Gets id.
|
static long |
getNextMessageId()
Gets next message id.
|
boolean |
isAsync()
Is async boolean.
|
boolean |
isHeartbeat()
Is heartbeat boolean.
|
boolean |
isRequest()
Is request boolean.
|
void |
setAsync(boolean async)
Sets async.
|
void |
setBody(Object body)
Sets body.
|
void |
setHeartbeat(boolean heartbeat)
Sets heartbeat.
|
void |
setId(long id)
Sets id.
|
void |
setRequest(boolean request)
Sets request.
|
public static long getNextMessageId()
public long getId()
public void setId(long id)
id - the idpublic boolean isAsync()
public void setAsync(boolean async)
async - the asyncpublic boolean isRequest()
public void setRequest(boolean request)
request - the requestpublic boolean isHeartbeat()
public void setHeartbeat(boolean heartbeat)
heartbeat - the heartbeatpublic Object getBody()
public void setBody(Object body)
body - the bodyCopyright © 2019 Seata. All rights reserved.