Class UdpConnected.Send

  extended by akka.io.UdpConnected.Send
All Implemented Interfaces:
SelectionHandler.HasFailureMessage, UdpConnected.Command, UdpConnected.Message, java.io.Serializable, scala.Equals, scala.Product
Enclosing class:

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

Constructor Summary
UdpConnected.Send(ByteString payload, java.lang.Object ack)
Method Summary
 java.lang.Object ack()
 ByteString payload()
 boolean wantsAck()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface akka.io.UdpConnected.Command
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
Methods inherited from interface scala.Equals
canEqual, equals

Constructor Detail


public UdpConnected.Send(ByteString payload,
                         java.lang.Object ack)
Method Detail


public ByteString payload()


public java.lang.Object ack()


public boolean wantsAck()