| 程序包 | 说明 |
|---|---|
| com.alipay.remoting | |
| com.alipay.remoting.rpc | |
| com.alipay.remoting.rpc.protocol |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractRemotingProcessor<T extends RemotingCommand>
Processor to process remoting command.
|
| 限定符和类型 | 方法和说明 |
|---|---|
RemotingProcessor<?> |
ProcessorManager.getProcessor(CommandCode cmdCode)
Get the specific processor with command code of cmdCode if registered, otherwise the default processor is returned.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ProcessorManager.registerDefaultProcessor(RemotingProcessor<?> processor)
Register the default processor to process command with no specific processor registered.
|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RpcServer.registerProcessor(byte protocolCode,
CommandCode cmd,
RemotingProcessor<?> processor) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
RpcHeartBeatProcessor
Processor for heart beat.
|
class |
RpcRequestProcessor
Process Rpc request.
|
class |
RpcResponseProcessor
Processor to process RpcResponse.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RpcCommandHandler.registerProcessor(CommandCode cmd,
RemotingProcessor processor) |
Copyright © 2020. All rights reserved.