akka.io
Class Tcp.Connect
java.lang.Object
akka.io.Tcp.Connect
- All Implemented Interfaces:
- NoSerializationVerificationNeeded, akka.io.SelectionHandler.HasFailureMessage, Tcp.Command, Tcp.Message, java.io.Serializable, scala.Equals, scala.Product
- Enclosing class:
- Tcp
public static class Tcp.Connect
- extends java.lang.Object
- implements Tcp.Command, scala.Product, scala.Serializable
The Connect message is sent to the TCP manager actor, which is obtained via
TcpExt.manager()
. Either the manager replies with a Tcp.CommandFailed
or the actor handling the new connection replies with a Tcp.Connected
message.
- See Also:
- Serialized Form
Constructor Summary |
Tcp.Connect(java.net.InetSocketAddress remoteAddress,
scala.Option<java.net.InetSocketAddress> localAddress,
scala.collection.immutable.Traversable<Inet.SocketOption> options,
scala.Option<scala.concurrent.duration.FiniteDuration> timeout)
|
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 |
Tcp.Connect
public Tcp.Connect(java.net.InetSocketAddress remoteAddress,
scala.Option<java.net.InetSocketAddress> localAddress,
scala.collection.immutable.Traversable<Inet.SocketOption> options,
scala.Option<scala.concurrent.duration.FiniteDuration> timeout)
remoteAddress
public java.net.InetSocketAddress remoteAddress()
localAddress
public scala.Option<java.net.InetSocketAddress> localAddress()
options
public scala.collection.immutable.Traversable<Inet.SocketOption> options()
timeout
public scala.Option<scala.concurrent.duration.FiniteDuration> timeout()