akka.io
Class Udp.Bind
java.lang.Object
akka.io.Udp.Bind
- All Implemented Interfaces:
- SelectionHandler.HasFailureMessage, Udp.Command, Udp.Message, java.io.Serializable, scala.Equals, scala.Product
- Enclosing class:
- Udp
public static class Udp.Bind
- extends java.lang.Object
- implements Udp.Command, scala.Product, scala.Serializable
Send this message to the 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.
- See Also:
- Serialized Form
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 |
Udp.Bind
public Udp.Bind(ActorRef handler,
java.net.InetSocketAddress localAddress,
scala.collection.immutable.Traversable<Inet.SocketOption> options)
handler
public ActorRef handler()
localAddress
public java.net.InetSocketAddress localAddress()
options
public scala.collection.immutable.Traversable<Inet.SocketOption> options()