public static final class Tcp.Connect extends java.lang.Object implements Tcp.Command, scala.Product, scala.Serializable
TcpExt.manager()
. Either the manager replies with a Tcp.CommandFailed
or the actor handling the new connection replies with a Tcp.Connected
message.
param: remoteAddress is the address to connect to
param: localAddress optionally specifies a specific address to bind to
param: options Please refer to the Tcp.SO
object for a list of all supported options.
Constructor and Description |
---|
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,
boolean pullMode) |
Modifier and Type | Method and Description |
---|---|
scala.Option<java.net.InetSocketAddress> |
localAddress() |
scala.collection.immutable.Traversable<Inet.SocketOption> |
options() |
boolean |
pullMode() |
java.net.InetSocketAddress |
remoteAddress() |
scala.Option<scala.concurrent.duration.FiniteDuration> |
timeout() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
failureMessage
public 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, boolean pullMode)
public java.net.InetSocketAddress remoteAddress()
public scala.Option<java.net.InetSocketAddress> localAddress()
public scala.collection.immutable.Traversable<Inet.SocketOption> options()
public scala.Option<scala.concurrent.duration.FiniteDuration> timeout()
public boolean pullMode()