akka.io
Class UdpConnected.Send

java.lang.Object
  extended by akka.io.UdpConnected.Send
All Implemented Interfaces:
akka.io.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

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
failureMessage
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

UdpConnected.Send

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

payload

public ByteString payload()

ack

public java.lang.Object ack()

wantsAck

public boolean wantsAck()