public static final class Udp.Bind extends java.lang.Object implements Udp.Command, scala.Product, scala.Serializable
UdpExt.manager()
in order to bind to the given
local port (or an automatically assigned one if the port number is zero).
The listener actor for the newly bound port will reply with a Udp.Bound
message, or the manager will reply with a Udp.CommandFailed
message.Constructor and Description |
---|
Bind(ActorRef handler,
java.net.InetSocketAddress localAddress,
scala.collection.immutable.Traversable<Inet.SocketOption> options) |
Modifier and Type | Method and Description |
---|---|
ActorRef |
handler() |
java.net.InetSocketAddress |
localAddress() |
scala.collection.immutable.Traversable<Inet.SocketOption> |
options() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
failureMessage
public Bind(ActorRef handler, java.net.InetSocketAddress localAddress, scala.collection.immutable.Traversable<Inet.SocketOption> options)
public ActorRef handler()
public java.net.InetSocketAddress localAddress()
public scala.collection.immutable.Traversable<Inet.SocketOption> options()