public static final class UdpConnected.Send extends java.lang.Object implements UdpConnected.Command, scala.Product, scala.Serializable
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.Constructor and Description |
---|
Send(ByteString payload,
java.lang.Object ack) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
ack() |
ByteString |
payload() |
boolean |
wantsAck() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
failureMessage
public Send(ByteString payload, java.lang.Object ack)
public ByteString payload()
public java.lang.Object ack()
public boolean wantsAck()