public interface TcpHandlers extends CommonHandlers
Modifier and Type | Method and Description |
---|---|
AssociationHandle |
createHandle(org.jboss.netty.channel.Channel channel,
akka.actor.Address localAddress,
akka.actor.Address remoteAddress) |
void |
onDisconnect(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e) |
void |
onException(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e) |
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, transformException
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
AssociationHandle createHandle(org.jboss.netty.channel.Channel channel, akka.actor.Address localAddress, akka.actor.Address remoteAddress)
createHandle
in interface CommonHandlers
void onDisconnect(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)
onDisconnect
in interface NettyHelpers
void onMessage(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e)
onMessage
in interface NettyHelpers
void onException(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ExceptionEvent e)
onException
in interface NettyHelpers