public static 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.
| Constructor and Description |
|---|
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,
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, waitfailureMessagepublic 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,
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()