public class UDPUpstreamHandler
extends org.jboss.netty.channel.SimpleChannelUpstreamHandler
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG |
private SessionRegistryService<SocketAddress> |
udpSessionRegistry |
Constructor and Description |
---|
UDPUpstreamHandler() |
Modifier and Type | Method and Description |
---|---|
Event |
getUDPConnectEvent(Event event,
SocketAddress remoteAddress,
org.jboss.netty.channel.socket.DatagramChannel udpChannel) |
SessionRegistryService<SocketAddress> |
getUdpSessionRegistry() |
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e) |
void |
setUdpSessionRegistry(SessionRegistryService<SocketAddress> udpSessionRegistry) |
private static final org.slf4j.Logger LOG
private SessionRegistryService<SocketAddress> udpSessionRegistry
public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e) throws Exception
messageReceived
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
Exception
public Event getUDPConnectEvent(Event event, SocketAddress remoteAddress, org.jboss.netty.channel.socket.DatagramChannel udpChannel)
public SessionRegistryService<SocketAddress> getUdpSessionRegistry()
public void setUdpSessionRegistry(SessionRegistryService<SocketAddress> udpSessionRegistry)
Copyright © 2013. All Rights Reserved.