akka.io
Class Tcp.Connected

java.lang.Object
  extended by akka.io.Tcp.Connected
All Implemented Interfaces:
NoSerializationVerificationNeeded, Tcp.Event, Tcp.Message, java.io.Serializable, scala.Equals, scala.Product
Enclosing class:
Tcp

public static class Tcp.Connected
extends java.lang.Object
implements Tcp.Event, scala.Product, scala.Serializable

The connection actor sends this message either to the sender of a Tcp.Connect command (for outbound) or to the handler for incoming connections designated in the Tcp.Bind message. The connection is characterized by the remoteAddress and localAddress TCP endpoints.

See Also:
Serialized Form

Constructor Summary
Tcp.Connected(java.net.InetSocketAddress remoteAddress, java.net.InetSocketAddress localAddress)
           
 
Method Summary
 java.net.InetSocketAddress localAddress()
           
 java.net.InetSocketAddress remoteAddress()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

Tcp.Connected

public Tcp.Connected(java.net.InetSocketAddress remoteAddress,
                     java.net.InetSocketAddress localAddress)
Method Detail

remoteAddress

public java.net.InetSocketAddress remoteAddress()

localAddress

public java.net.InetSocketAddress localAddress()