akka.io
Class TcpOutgoingConnection

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

public class TcpOutgoingConnection
extends TcpConnection

An actor handling the connection state machine for an outgoing connection to be established.

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
TcpOutgoingConnection(TcpExt _tcp, ChannelRegistry channelRegistry, ActorRef commander, Tcp.Connect connect)
           
 
Method Summary
 scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> connecting(ChannelRegistration registration, int remainingFinishConnectRetries)
           
 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

TcpOutgoingConnection

public TcpOutgoingConnection(TcpExt _tcp,
                             ChannelRegistry channelRegistry,
                             ActorRef commander,
                             Tcp.Connect connect)
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)

connecting

public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> connecting(ChannelRegistration registration,
                                                                                  int remainingFinishConnectRetries)