public static class Tcp.Bind extends java.lang.Object implements Tcp.Command, scala.Product, scala.Serializable
TcpExt.manager()
in order to bind to a listening socket. The manager
replies either with a Tcp.CommandFailed
or the actor handling the listen
socket replies with a Tcp.Bound
message. If the local port is set to 0 in
the Bind message, then the Tcp.Bound
message should be inspected to find
the actual port which was bound to.
Constructor and Description |
---|
Tcp.Bind(ActorRef handler,
java.net.InetSocketAddress localAddress,
int backlog,
scala.collection.immutable.Traversable<Inet.SocketOption> options,
boolean pullMode) |
Modifier and Type | Method and Description |
---|---|
int |
backlog() |
ActorRef |
handler() |
java.net.InetSocketAddress |
localAddress() |
scala.collection.immutable.Traversable<Inet.SocketOption> |
options() |
boolean |
pullMode() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
failureMessage
public Tcp.Bind(ActorRef handler, java.net.InetSocketAddress localAddress, int backlog, scala.collection.immutable.Traversable<Inet.SocketOption> options, boolean pullMode)
public ActorRef handler()
public java.net.InetSocketAddress localAddress()
public int backlog()
public scala.collection.immutable.Traversable<Inet.SocketOption> options()
public boolean pullMode()