public class RequestResponseRemotingDataProcessor extends Object implements RemotingDataProcessor
| 构造器和说明 |
|---|
RequestResponseRemotingDataProcessor(RpcInvocation rpcInvocation) |
RequestResponseRemotingDataProcessor(RpcInvocation rpcInvocation,
Integer corePoolSize,
Integer maximumPoolSize) |
public RequestResponseRemotingDataProcessor(RpcInvocation rpcInvocation)
public RequestResponseRemotingDataProcessor(RpcInvocation rpcInvocation, Integer corePoolSize, Integer maximumPoolSize)
public void readMessage(Channel channel, Object msg, Object extend)
RemotingDataProcessorreadMessage 在接口中 RemotingDataProcessorchannel - 具体的管道实现msg - 读到的数据extend - 扩展字段public Object writeMessage(Channel channel, Object msg, Object extend)
RemotingDataProcessorwriteMessage 在接口中 RemotingDataProcessorchannel - 管道msg - 消息extend - 扩展字段public void sendHeartbeat(Channel channel, Object extend)
RemotingDataProcessorsendHeartbeat 在接口中 RemotingDataProcessorpublic boolean support(Object msg)
RemotingDataProcessorsupport 在接口中 RemotingDataProcessorCopyright © 2020. All rights reserved.