akka.remote.transport.netty
Class ServerHandler

java.lang.Object
  extended by org.jboss.netty.channel.SimpleChannelUpstreamHandler
      extended by akka.remote.transport.netty.ServerHandler
All Implemented Interfaces:
CommonHandlers, NettyHelpers, NettyServerHelpers
Direct Known Subclasses:
TcpServerHandler, UdpServerHandler

public abstract class ServerHandler
extends org.jboss.netty.channel.SimpleChannelUpstreamHandler
implements NettyServerHelpers, CommonHandlers

INTERNAL API


Constructor Summary
ServerHandler(NettyTransport transport, scala.concurrent.Future<Transport.AssociationEventListener> associationListenerFuture)
           
 
Method Summary
protected  void initInbound(org.jboss.netty.channel.Channel channel, java.net.SocketAddress remoteSocketAddress, org.jboss.netty.buffer.ChannelBuffer msg)
           
protected  NettyTransport transport()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface akka.remote.transport.netty.NettyServerHelpers
channelConnected, channelDisconnected, channelOpen, exceptionCaught, messageReceived
 
Methods inherited from interface akka.remote.transport.netty.CommonHandlers
createHandle, init, onOpen, registerListener
 
Methods inherited from interface akka.remote.transport.netty.NettyHelpers
onConnect, onDisconnect, onException, onMessage, transformException
 

Constructor Detail

ServerHandler

public ServerHandler(NettyTransport transport,
                     scala.concurrent.Future<Transport.AssociationEventListener> associationListenerFuture)
Method Detail

transport

protected final NettyTransport transport()
Specified by:
transport in interface CommonHandlers

initInbound

protected final void initInbound(org.jboss.netty.channel.Channel channel,
                                 java.net.SocketAddress remoteSocketAddress,
                                 org.jboss.netty.buffer.ChannelBuffer msg)