public class UdpSender extends java.lang.Object implements Actor, ActorLogging, WithUdpSend, RequiresMessageQueue<UnboundedMessageQueueSemantics>
Actor.emptyBehavior$, Actor.ignoringBehavior$
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, wait
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, postRestart, preRestart, preStart, self, sender, supervisorStrategy, unhandled
_log, log
doSend, hasWritePending, pendingCommander, pendingSend, retriedSend, sendHandlers, settings
public UdpSender(UdpExt udp, ChannelRegistry channelRegistry, ActorRef commander, scala.collection.immutable.Traversable<Inet.SocketOption> options)
public UdpExt udp()
udp
in interface WithUdpSend
public java.nio.channels.DatagramChannel channel()
channel
in interface WithUdpSend
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive()
Actor