akka.io
Class UdpConnected.Connect
java.lang.Object
akka.io.UdpConnected.Connect
- All Implemented Interfaces:
- SelectionHandler.HasFailureMessage, UdpConnected.Command, UdpConnected.Message, java.io.Serializable, scala.Equals, scala.Product
- Enclosing class:
- UdpConnected
public static class UdpConnected.Connect
- extends java.lang.Object
- implements UdpConnected.Command, scala.Product, scala.Serializable
Send this message to the UdpExt.manager()
in order to bind to a local
port (optionally with the chosen localAddress
) and create a UDP socket
which is restricted to sending to and receiving from the given remoteAddress
.
All received datagrams will be sent to the designated handler
actor.
- 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 |
UdpConnected.Connect
public UdpConnected.Connect(ActorRef handler,
java.net.InetSocketAddress remoteAddress,
scala.Option<java.net.InetSocketAddress> localAddress,
scala.collection.immutable.Traversable<Inet.SocketOption> options)
handler
public ActorRef handler()
remoteAddress
public java.net.InetSocketAddress remoteAddress()
localAddress
public scala.Option<java.net.InetSocketAddress> localAddress()
options
public scala.collection.immutable.Traversable<Inet.SocketOption> options()