Package org.apache.pekko.io
Class Udp.SimpleSender
java.lang.Object
org.apache.pekko.io.Udp.SimpleSender
- All Implemented Interfaces:
Serializable,org.apache.pekko.io.SelectionHandler.HasFailureMessage,Udp.Command,Udp.Message,scala.Equals,scala.Product
- Direct Known Subclasses:
Udp.SimpleSender$
- Enclosing class:
- Udp
public static class Udp.SimpleSender
extends Object
implements Udp.Command, scala.Product, 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 pekko.actor.PoisonPill
when you want to close the socket.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleSender(scala.collection.immutable.Iterable<Inet.SocketOption> options) -
Method Summary
Modifier and TypeMethodDescriptionbooleancopy(scala.collection.immutable.Iterable<Inet.SocketOption> options) scala.collection.immutable.Iterable<Inet.SocketOption>booleaninthashCode()scala.collection.immutable.Iterable<Inet.SocketOption>options()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNamesMethods inherited from interface org.apache.pekko.io.Udp.Command
failureMessage
-
Constructor Details
-
SimpleSender
-
-
Method Details
-
options
-
copy
-
copy$default$1
-
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-