Package org.apache.pekko.io
Class UdpConnected.Send
java.lang.Object
org.apache.pekko.io.UdpConnected.Send
- All Implemented Interfaces:
Serializable,org.apache.pekko.io.SelectionHandler.HasFailureMessage,UdpConnected.Command,UdpConnected.Message,scala.Equals,scala.Product
- Enclosing class:
- UdpConnected
public static final class UdpConnected.Send
extends Object
implements UdpConnected.Command, scala.Product, Serializable
This message is understood by the connection actors to send data to their
designated destination. The connection actor will respond with
UdpConnected.CommandFailed if the send could not be enqueued to the O/S kernel
because the send buffer was full. If the given ack is not of type UdpConnected.NoAck
the connection actor will reply with the given object as soon as the datagram
has been successfully enqueued to the O/S kernel.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionack()booleancopy(ByteString payload, Object ack) booleaninthashCode()payload()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>toString()booleanwantsAck()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.UdpConnected.Command
failureMessage
-
Constructor Details
-
Send
-
-
Method Details
-
payload
-
ack
-
wantsAck
public boolean wantsAck() -
copy
-
copy$default$1
-
copy$default$2
-
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
-