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, org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler
Direct Known Subclasses:
TcpServerHandler, UdpServerHandler

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

INTERNAL API


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler
org.jboss.netty.channel.ChannelHandler.Sharable
 
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 org.jboss.netty.channel.SimpleChannelUpstreamHandler
channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, exceptionCaught, handleUpstream, messageReceived, writeComplete
 
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)