| 程序包 | 说明 |
|---|---|
| com.alipay.remoting | |
| com.alipay.remoting.rpc | |
| com.alipay.remoting.rpc.protocol |
| 限定符和类型 | 类和说明 |
|---|---|
class |
CommonCommandCode
The common command code, especially for heart beat command.
|
| 限定符和类型 | 方法和说明 |
|---|---|
CommandCode |
RemotingCommand.getCmdCode()
Get the command code for this command
|
| 限定符和类型 | 方法和说明 |
|---|---|
static CustomSerializer |
CustomSerializerManager.getCustomSerializer(CommandCode code)
Get the custom serializer for command code.
|
RemotingProcessor<?> |
ProcessorManager.getProcessor(CommandCode cmdCode)
Get the specific processor with command code of cmdCode if registered, otherwise the default processor is returned.
|
static void |
CustomSerializerManager.registerCustomSerializer(CommandCode code,
CustomSerializer serializer)
Register custom serializer for command code.
|
void |
RemotingServer.registerProcessor(byte protocolCode,
CommandCode commandCode,
RemotingProcessor<?> processor)
Register processor for command with the command code.
|
void |
ProcessorManager.registerProcessor(CommandCode cmdCode,
RemotingProcessor<?> processor)
Register processor to process command that has the command code of cmdCode.
|
void |
CommandHandler.registerProcessor(CommandCode cmd,
RemotingProcessor<?> processor)
Register processor for command with specified code.
|
| 限定符和类型 | 方法和说明 |
|---|---|
CommandCode |
RpcCommand.getCmdCode() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RpcServer.registerProcessor(byte protocolCode,
CommandCode cmd,
RemotingProcessor<?> processor) |
void |
RpcCommand.setCmdCode(CommandCode cmdCode) |
| 构造器和说明 |
|---|
RequestCommand(byte version,
byte type,
CommandCode code) |
RequestCommand(byte type,
CommandCode code) |
RequestCommand(CommandCode code) |
ResponseCommand(byte version,
byte type,
CommandCode code,
int id) |
ResponseCommand(CommandCode code) |
ResponseCommand(CommandCode code,
int id) |
RpcCommand(byte version,
byte type,
CommandCode cmdCode) |
RpcCommand(byte type,
CommandCode cmdCode) |
RpcCommand(CommandCode cmdCode) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
RpcCommandCode
Command code for rpc remoting command.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RpcCommandHandler.registerProcessor(CommandCode cmd,
RemotingProcessor processor) |
Copyright © 2020. All rights reserved.