akka.io
Class Udp.Bind

java.lang.Object
  extended by 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

Constructor Summary
Udp.Bind(ActorRef handler, java.net.InetSocketAddress localAddress, scala.collection.immutable.Traversable<Inet.SocketOption> options)
           
 
Method Summary
 ActorRef handler()
           
 java.net.InetSocketAddress localAddress()
           
 scala.collection.immutable.Traversable<Inet.SocketOption> options()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface akka.io.Udp.Command
failureMessage
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

Udp.Bind

public Udp.Bind(ActorRef handler,
                java.net.InetSocketAddress localAddress,
                scala.collection.immutable.Traversable<Inet.SocketOption> options)
Method Detail

handler

public ActorRef handler()

localAddress

public java.net.InetSocketAddress localAddress()

options

public scala.collection.immutable.Traversable<Inet.SocketOption> options()