public interface RemotingCommand
| 限定符和类型 | 方法和说明 |
|---|---|
int |
cmdCode() |
RemotingCommand |
cmdCode(int code) |
int |
cmdVersion() |
RemotingCommand |
cmdVersion(int version) |
<T> T |
decodePayload(Class<T> type) |
int |
opCode() |
RemotingCommand |
opCode(int value) |
Payload |
payload() |
RemotingCommand |
payload(Payload payload) |
Map<String,String> |
properties() |
String |
property(String key) |
RemotingCommand |
property(String key,
String value) |
String |
remark() |
RemotingCommand |
remark(String value) |
int |
requestID() |
RemotingCommand |
requestID(int value) |
TrafficType |
trafficType() |
RemotingCommand |
trafficType(TrafficType value) |
int cmdCode()
RemotingCommand cmdCode(int code)
int cmdVersion()
RemotingCommand cmdVersion(int version)
int requestID()
RemotingCommand requestID(int value)
TrafficType trafficType()
RemotingCommand trafficType(TrafficType value)
int opCode()
RemotingCommand opCode(int value)
String remark()
RemotingCommand remark(String value)
RemotingCommand property(String key, String value)
Payload payload()
RemotingCommand payload(Payload payload)
<T> T decodePayload(Class<T> type)
Copyright © 2021–2022. All rights reserved.