public abstract class ServerHandler extends org.jboss.netty.channel.SimpleChannelUpstreamHandler implements NettyServerHelpers, CommonHandlers
Constructor and Description |
---|
ServerHandler(NettyTransport transport,
scala.concurrent.Future<Transport.AssociationEventListener> associationListenerFuture) |
Modifier and Type | Method and Description |
---|---|
protected void |
initInbound(org.jboss.netty.channel.Channel channel,
java.net.SocketAddress remoteSocketAddress,
org.jboss.netty.buffer.ChannelBuffer msg) |
protected NettyTransport |
transport() |
channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, exceptionCaught, handleUpstream, messageReceived, writeComplete
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
channelConnected, channelDisconnected, channelOpen, exceptionCaught, messageReceived
createHandle, init, onOpen, registerListener
onConnect, onDisconnect, onException, onMessage, transformException
public ServerHandler(NettyTransport transport, scala.concurrent.Future<Transport.AssociationEventListener> associationListenerFuture)
protected final NettyTransport transport()
transport
in interface CommonHandlers
protected final void initInbound(org.jboss.netty.channel.Channel channel, java.net.SocketAddress remoteSocketAddress, org.jboss.netty.buffer.ChannelBuffer msg)