akka.io
Class Tcp.Write$

java.lang.Object
  extended by akka.io.Tcp.Write$
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Tcp

public static class Tcp.Write$
extends java.lang.Object
implements scala.Serializable

See Also:
Serialized Form

Constructor Summary
Tcp.Write$()
           
 
Method Summary
 Tcp.Write apply(ByteString data)
          Create a new unacknowledged Write command with the given data.
 Tcp.Write empty()
          The empty Write doesn't write anything and isn't acknowledged.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tcp.Write$

public Tcp.Write$()
Method Detail

empty

public Tcp.Write empty()
The empty Write doesn't write anything and isn't acknowledged. It will, however, be denied and sent back with CommandFailed if the connection isn't currently ready to send any data (because another WriteCommand is still pending).


apply

public Tcp.Write apply(ByteString data)
Create a new unacknowledged Write command with the given data.