akka.io
Class TcpIncomingConnection

java.lang.Object
  extended by akka.io.TcpConnection
      extended by akka.io.TcpIncomingConnection
All Implemented Interfaces:
Actor, ActorLogging, RequiresMessageQueue<UnboundedMessageQueueSemantics>

public class TcpIncomingConnection
extends TcpConnection

An actor handling the connection state machine for an incoming, already connected SocketChannel.

INTERNAL API


Nested Class Summary
 
Nested classes/interfaces inherited from class akka.io.TcpConnection
TcpConnection.AllRead$, TcpConnection.CloseInformation, TcpConnection.CloseInformation$, TcpConnection.ConnectionInfo, TcpConnection.ConnectionInfo$, TcpConnection.EmptyPendingWrite$, TcpConnection.EndOfStream$, TcpConnection.MoreDataWaiting$, TcpConnection.PendingBufferWrite, TcpConnection.PendingWrite, TcpConnection.PendingWriteFile, TcpConnection.ReadResult, TcpConnection.UpdatePendingWriteAndThen, TcpConnection.UpdatePendingWriteAndThen$, TcpConnection.WriteFileFailed, TcpConnection.WriteFileFailed$
 
Nested classes/interfaces inherited from interface akka.actor.Actor
Actor.emptyBehavior$
 
Constructor Summary
TcpIncomingConnection(TcpExt _tcp, java.nio.channels.SocketChannel _channel, ChannelRegistry registry, ActorRef bindHandler, scala.collection.immutable.Traversable<Inet.SocketOption> options, boolean readThrottling)
           
 
Method Summary
 scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive()
          This defines the initial actor behavior, it must return a partial function with the actor logic.
 
Methods inherited from class akka.io.TcpConnection
abort, channel, closedMessage, closeReason, closing, closingWithPendingWrite, completeConnect, connected, doCloseConnection, doNothing, doRead, doWrite, handleClose, handleError, handleWriteMessages, peerSentEOF, PendingBufferWrite, PendingWrite, PendingWriteFile, postRestart, postStop, pullMode, resumeReading, safeShutdownOutput, signDeathPact, stopWith, suspendReading, tcp, unsignDeathPact, waitingForRegistration, writePending
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface akka.actor.Actor
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, preRestart, preStart, self, sender, supervisorStrategy, unhandled
 
Methods inherited from interface akka.actor.ActorLogging
_log, log
 

Constructor Detail

TcpIncomingConnection

public TcpIncomingConnection(TcpExt _tcp,
                             java.nio.channels.SocketChannel _channel,
                             ChannelRegistry registry,
                             ActorRef bindHandler,
                             scala.collection.immutable.Traversable<Inet.SocketOption> options,
                             boolean readThrottling)
Method Detail

receive

public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive()
Description copied from interface: Actor
This defines the initial actor behavior, it must return a partial function with the actor logic.

Returns:
(undocumented)