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