public class RequestHandlerUDP
extends org.jboss.netty.channel.SimpleChannelHandler
| Constructor and Description |
|---|
RequestHandlerUDP(FutureResponse futureResponse,
PeerBean peerBean,
ConnectionBean connectionBean,
Message message) |
RequestHandlerUDP(PeerBean peerBean,
ConnectionBean connectionBean,
Message message) |
| Modifier and Type | Method and Description |
|---|---|
void |
exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e) |
FutureResponse |
fireAndForgetUDP() |
FutureResponse |
getFutureResponse() |
protected PeerMap |
getPeerMap() |
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e) |
FutureResponse |
sendBroadcastUDP() |
FutureResponse |
sendUDP() |
bindRequested, channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, closeRequested, connectRequested, disconnectRequested, handleDownstream, handleUpstream, setInterestOpsRequested, unbindRequested, writeComplete, writeRequestedpublic RequestHandlerUDP(PeerBean peerBean, ConnectionBean connectionBean, Message message)
public RequestHandlerUDP(FutureResponse futureResponse, PeerBean peerBean, ConnectionBean connectionBean, Message message)
objectHolder - the bean representing the node this handler belongs
topublic FutureResponse getFutureResponse()
public FutureResponse sendUDP()
public FutureResponse sendBroadcastUDP()
public FutureResponse fireAndForgetUDP()
protected PeerMap getPeerMap()
public void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e)
exceptionCaught in class org.jboss.netty.channel.SimpleChannelHandlerCopyright © 2011. All Rights Reserved.