akka.io
Class Tcp.SimpleWriteCommand

java.lang.Object
  extended by akka.io.Tcp.WriteCommand
      extended by akka.io.Tcp.SimpleWriteCommand
All Implemented Interfaces:
NoSerializationVerificationNeeded, SelectionHandler.HasFailureMessage, Tcp.Command, Tcp.Message
Direct Known Subclasses:
Tcp.Write, Tcp.WriteFile
Enclosing class:
Tcp

public abstract static class Tcp.SimpleWriteCommand
extends Tcp.WriteCommand

Common supertype of Tcp.Write and Tcp.WriteFile.


Constructor Summary
Tcp.SimpleWriteCommand()
           
 
Method Summary
abstract  Tcp.Event ack()
          The acknowledgment token associated with this write command.
 Tcp.CompoundWrite append(Tcp.WriteCommand that)
          Java API: appends this command with another WriteCommand to form a CompoundWrite.
 boolean wantsAck()
          An acknowledgment is only sent if this write command “wants an ack”, which is equivalent to the ack() token not being a of type Tcp.NoAck.
 
Methods inherited from class akka.io.Tcp.WriteCommand
prepend, prepend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface akka.io.Tcp.Command
failureMessage
 

Constructor Detail

Tcp.SimpleWriteCommand

public Tcp.SimpleWriteCommand()
Method Detail

ack

public abstract Tcp.Event ack()
The acknowledgment token associated with this write command.

Returns:
(undocumented)

wantsAck

public boolean wantsAck()
An acknowledgment is only sent if this write command “wants an ack”, which is equivalent to the ack() token not being a of type Tcp.NoAck.

Returns:
(undocumented)

append

public Tcp.CompoundWrite append(Tcp.WriteCommand that)
Java API: appends this command with another WriteCommand to form a CompoundWrite.

Parameters:
that - (undocumented)
Returns:
(undocumented)