public interface RemotingCommand extends Serializable
| 限定符和类型 | 方法和说明 |
|---|---|
void |
deserialize()
Deserialize all parts of remoting command
|
void |
deserializeContent(InvokeContext invokeContext)
Deserialize content of remoting command
|
CommandCode |
getCmdCode()
Get the command code for this command
|
int |
getId()
Get the id of the command
|
InvokeContext |
getInvokeContext()
Get invoke context for this command
|
ProtocolCode |
getProtocolCode()
Get the code of the protocol that this command belongs to
|
ProtocolSwitch |
getProtocolSwitch()
Get the protocol switch status for this command
|
byte |
getSerializer()
Get serializer type for this command
|
void |
serialize()
Serialize all parts of remoting command
|
void |
serializeContent(InvokeContext invokeContext)
Serialize content of remoting command
|
ProtocolCode getProtocolCode()
CommandCode getCmdCode()
int getId()
InvokeContext getInvokeContext()
byte getSerializer()
ProtocolSwitch getProtocolSwitch()
void serialize()
throws SerializationException
void deserialize()
throws DeserializationException
void serializeContent(InvokeContext invokeContext) throws SerializationException
invokeContext - SerializationExceptionvoid deserializeContent(InvokeContext invokeContext) throws DeserializationException
invokeContext - DeserializationExceptionCopyright © 2020. All rights reserved.