public class ReplicaClientHandler extends ClientAsynHandler
map, timeout
Constructor and Description |
---|
ReplicaClientHandler(int size) |
ReplicaClientHandler(long timeout,
int size) |
Modifier and Type | Method and Description |
---|---|
void |
exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e) |
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e) |
Response |
sendRequest(Request request,
org.jboss.netty.channel.Channel channel) |
void |
writeComplete(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.WriteCompletionEvent e) |
channelConnected, channelInterestChanged, handleUpstream, invoke, sendMessage
public ReplicaClientHandler(long timeout, int size)
public ReplicaClientHandler(int size)
public void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ExceptionEvent e)
exceptionCaught
in class ClientAsynHandler
public void writeComplete(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.WriteCompletionEvent e)
writeComplete
in class ClientAsynHandler
public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e)
messageReceived
in class ClientAsynHandler
public Response sendRequest(Request request, org.jboss.netty.channel.Channel channel)
sendRequest
in interface Send
sendRequest
in class ClientAsynHandler
request
- channel
- Copyright © 2016. All rights reserved.