public class UdpSender extends java.lang.Object implements Actor, ActorLogging, WithUdpSend, RequiresMessageQueue<UnboundedMessageQueueSemantics>
Actor.emptyBehavior$| Constructor and Description |
|---|
UdpSender(UdpExt udp,
ChannelRegistry channelRegistry,
ActorRef commander,
scala.collection.immutable.Traversable<Inet.SocketOption> options) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.channels.DatagramChannel |
channel() |
void |
postStop()
User overridable callback.
|
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> |
receive()
This defines the initial actor behavior, it must return a partial function
with the actor logic.
|
UdpExt |
udp() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, postRestart, preRestart, preStart, self, sender, supervisorStrategy, unhandled_log, logdoSend, hasWritePending, pendingCommander, pendingSend, retriedSend, sendHandlers, settingspublic UdpSender(UdpExt udp, ChannelRegistry channelRegistry, ActorRef commander, scala.collection.immutable.Traversable<Inet.SocketOption> options)
public UdpExt udp()
udp in interface WithUdpSendpublic java.nio.channels.DatagramChannel channel()
channel in interface WithUdpSendpublic scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive()
Actor