akka.io
Class Tcp.NoAck

java.lang.Object
  extended by akka.io.Tcp.NoAck
All Implemented Interfaces:
NoSerializationVerificationNeeded, Tcp.Event, Tcp.Message, java.io.Serializable, scala.Equals, scala.Product
Direct Known Subclasses:
Tcp.NoAck$
Enclosing class:
Tcp

public static class Tcp.NoAck
extends java.lang.Object
implements Tcp.Event, scala.Product, scala.Serializable

Each Tcp.WriteCommand can optionally request a positive acknowledgment to be sent to the commanding actor. If such notification is not desired the WriteCommand#ack must be set to an instance of this class. The token contained within can be used to recognize which write failed when receiving a Tcp.CommandFailed message.

See Also:
Serialized Form

Constructor Summary
Tcp.NoAck(java.lang.Object token)
           
 
Method Summary
 java.lang.Object token()
           
 
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
 

Constructor Detail

Tcp.NoAck

public Tcp.NoAck(java.lang.Object token)
Method Detail

token

public java.lang.Object token()