public static final class UdpConnected.Connect extends java.lang.Object implements UdpConnected.Command, scala.Product, scala.Serializable
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.Constructor and Description |
---|
Connect(ActorRef handler,
java.net.InetSocketAddress remoteAddress,
scala.Option<java.net.InetSocketAddress> localAddress,
scala.collection.immutable.Traversable<Inet.SocketOption> options) |
Modifier and Type | Method and Description |
---|---|
ActorRef |
handler() |
scala.Option<java.net.InetSocketAddress> |
localAddress() |
scala.collection.immutable.Traversable<Inet.SocketOption> |
options() |
java.net.InetSocketAddress |
remoteAddress() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
failureMessage
public Connect(ActorRef handler, java.net.InetSocketAddress remoteAddress, scala.Option<java.net.InetSocketAddress> localAddress, scala.collection.immutable.Traversable<Inet.SocketOption> options)
public ActorRef handler()
public java.net.InetSocketAddress remoteAddress()
public scala.Option<java.net.InetSocketAddress> localAddress()
public scala.collection.immutable.Traversable<Inet.SocketOption> options()