Package akka.io
Class Tcp.WriteCommand
- java.lang.Object
 - 
- akka.io.Tcp.WriteCommand
 
 
- 
- All Implemented Interfaces:
 NoSerializationVerificationNeeded,akka.io.SelectionHandler.HasFailureMessage,Tcp.Command,Tcp.Message
- Direct Known Subclasses:
 Tcp.CompoundWrite,Tcp.SimpleWriteCommand
- Enclosing class:
 - Tcp
 
public abstract static class Tcp.WriteCommand extends java.lang.Object implements Tcp.Command
Common interface for all write commands. 
- 
- 
Constructor Summary
Constructors Constructor Description WriteCommand() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tcp.CompoundWrite$plus$colon(Tcp.SimpleWriteCommand other)Prepends this command with anotherWriteorWriteFileto form aCompoundWrite.Tcp.WriteCommand$plus$plus$colon(scala.collection.Iterable<Tcp.WriteCommand> writes)Prepends this command with a number of other writes.Tcp.CompoundWriteprepend(Tcp.SimpleWriteCommand that)Java API: prepends this command with anotherWriteorWriteFileto form aCompoundWrite.Tcp.WriteCommandprepend(java.lang.Iterable<Tcp.WriteCommand> writes)Java API: prepends this command with a number of other writes.- 
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 
 - 
 
 - 
 
- 
- 
Method Detail
- 
$plus$colon
public Tcp.CompoundWrite $plus$colon(Tcp.SimpleWriteCommand other)
Prepends this command with anotherWriteorWriteFileto form aCompoundWrite. 
- 
$plus$plus$colon
public Tcp.WriteCommand $plus$plus$colon(scala.collection.Iterable<Tcp.WriteCommand> writes)
Prepends this command with a number of other writes. The first element of the given Iterable becomes the first sub write of a potentially createdCompoundWrite. 
- 
prepend
public Tcp.CompoundWrite prepend(Tcp.SimpleWriteCommand that)
Java API: prepends this command with anotherWriteorWriteFileto form aCompoundWrite. 
- 
prepend
public Tcp.WriteCommand prepend(java.lang.Iterable<Tcp.WriteCommand> writes)
Java API: prepends this command with a number of other writes. The first element of the given Iterable becomes the first sub write of a potentially createdCompoundWrite. 
 - 
 
 -