public interface UdpHandlers extends CommonHandlers
Modifier and Type | Method and Description |
---|---|
AssociationHandle |
createHandle(org.jboss.netty.channel.Channel channel,
Address localAddress,
Address remoteAddress) |
void |
initUdp(org.jboss.netty.channel.Channel channel,
java.net.SocketAddress remoteSocketAddress,
org.jboss.netty.buffer.ChannelBuffer msg) |
void |
onMessage(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e) |
void |
registerListener(org.jboss.netty.channel.Channel channel,
AssociationHandle.HandleEventListener listener,
org.jboss.netty.buffer.ChannelBuffer msg,
java.net.InetSocketAddress remoteSocketAddress) |
init, onOpen, transport
onConnect, onDisconnect, onException, transformException
AssociationHandle createHandle(org.jboss.netty.channel.Channel channel, Address localAddress, Address remoteAddress)
createHandle
in interface CommonHandlers
void registerListener(org.jboss.netty.channel.Channel channel, AssociationHandle.HandleEventListener listener, org.jboss.netty.buffer.ChannelBuffer msg, java.net.InetSocketAddress remoteSocketAddress)
registerListener
in interface CommonHandlers
void onMessage(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e)
onMessage
in interface NettyHelpers
void initUdp(org.jboss.netty.channel.Channel channel, java.net.SocketAddress remoteSocketAddress, org.jboss.netty.buffer.ChannelBuffer msg)