Package akka.io
Class Tcp.Write$
- java.lang.Object
-
- akka.io.Tcp.Write$
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Tcp
public static class Tcp.Write$ extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Tcp.Write$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description Write$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tcp.Write
apply(ByteString data)
Create a new unacknowledged Write command with the given data.Tcp.Write
apply(ByteString data, Tcp.Event ack)
Tcp.Write
empty()
The empty Write doesn't write anything and isn't acknowledged.scala.Option<scala.Tuple2<ByteString,Tcp.Event>>
unapply(Tcp.Write x$0)
-
-
-
Field Detail
-
MODULE$
public static final Tcp.Write$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
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 withCommandFailed
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.
-
apply
public Tcp.Write apply(ByteString data, Tcp.Event ack)
-
unapply
public scala.Option<scala.Tuple2<ByteString,Tcp.Event>> unapply(Tcp.Write x$0)
-
-