Package akka.io
Class TcpIncomingConnection
- java.lang.Object
-
- akka.io.TcpConnection
-
- 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.Unregistered$, TcpConnection.UpdatePendingWriteAndThen, TcpConnection.UpdatePendingWriteAndThen$, TcpConnection.WriteFileFailed, TcpConnection.WriteFileFailed$
-
Nested classes/interfaces inherited from interface akka.actor.Actor
Actor.emptyBehavior$, Actor.ignoringBehavior$
-
-
Constructor Summary
Constructors Constructor Description TcpIncomingConnection(TcpExt _tcp, java.nio.channels.SocketChannel _channel, ChannelRegistry registry, ActorRef bindHandler, scala.collection.immutable.Traversable<Inet.SocketOption> options, boolean readThrottling)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit>
receive()
Scala API: This defines the initial actor behavior, it must return a partial function with the actor logic.-
Methods inherited from class akka.io.TcpConnection
akka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, channel, closeReason, closing, closingWithPendingWrite, completeConnect, connected, context, doCloseConnection, doNothing, doRead, doWrite, DroppingWriteBecauseQueueIsFullException, DroppingWriteBecauseWritingIsSuspendedException, handleClose, handleError, handleWriteMessages, peerSentEOF, PendingBufferWrite, PendingWrite, PendingWriteFile, postRestart, postStop, prepareAbort, pullMode, resumeReading, safeShutdownOutput, self, setRegistration, signDeathPact, stopWith, stopWith$default$2, suspendReading, tcp, unregistering, 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, preRestart, preStart, sender, supervisorStrategy, unhandled
-
Methods inherited from interface akka.actor.ActorLogging
_log_$eq, 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
Scala API: This defines the initial actor behavior, it must return a partial function with the actor logic.- Returns:
- (undocumented)
-
-