akka.io
Class Udp.SimpleSender
java.lang.Object
akka.io.Udp.SimpleSender
- All Implemented Interfaces:
- akka.io.SelectionHandler.HasFailureMessage, Udp.Command, Udp.Message, java.io.Serializable, scala.Equals, scala.Product
- Direct Known Subclasses:
- Udp.SimpleSender$
- Enclosing class:
- Udp
public static class Udp.SimpleSender
- extends java.lang.Object
- implements Udp.Command, scala.Product, scala.Serializable
Retrieve a reference to a “simple sender” actor of the UDP extension.
The newly created “simple sender” will reply with the Udp.SimpleSenderReady
notification.
The “simple sender” is a convenient service for being able to send datagrams
when the originating address is meaningless, i.e. when no reply is expected.
The “simple sender” will not stop itself, you will have to send it a PoisonPill
when you want to close the socket.
- 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.SimpleSender
public Udp.SimpleSender(scala.collection.immutable.Traversable<Inet.SocketOption> options)
options
public scala.collection.immutable.Traversable<Inet.SocketOption> options()