akka.io
Class UdpConnected.Send
java.lang.Object
akka.io.UdpConnected.Send
- All Implemented Interfaces:
- SelectionHandler.HasFailureMessage, UdpConnected.Command, UdpConnected.Message, java.io.Serializable, scala.Equals, scala.Product
- Enclosing class:
- UdpConnected
public static class UdpConnected.Send
- extends java.lang.Object
- implements UdpConnected.Command, scala.Product, scala.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:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface scala.Product |
productArity, productElement, productIterator, productPrefix |
Methods inherited from interface scala.Equals |
canEqual, equals |
UdpConnected.Send
public UdpConnected.Send(ByteString payload,
java.lang.Object ack)
payload
public ByteString payload()
ack
public java.lang.Object ack()
wantsAck
public boolean wantsAck()