public class ClientRequestProcessor extends ClientContext implements NettyRequestProcessor
clientConfig, clientMonitor, clientRemoting, clientService, httpService, proxyService, zookeeper| 构造器和说明 |
|---|
ClientRequestProcessor(LinkedBlockingQueue<Runnable> requestQueue) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
init()
初始化
InitException
|
RemotingCommand |
processRequest(io.netty.channel.ChannelHandlerContext ctx,
RemotingCommand request)
处理请求
|
initClientpublic ClientRequestProcessor(LinkedBlockingQueue<Runnable> requestQueue)
public void init()
throws InitException
InitExceptionpublic RemotingCommand processRequest(io.netty.channel.ChannelHandlerContext ctx, RemotingCommand request) throws Exception
processRequest 在接口中 NettyRequestProcessorExceptionCopyright © 2018. All rights reserved.