Package org.apache.pekko.io
Class Tcp.Write$
java.lang.Object
org.apache.pekko.io.Tcp.Write$
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Tcp
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Tcp.Write$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(ByteString data) Create a new unacknowledged Write command with the given data.apply(ByteString data, Tcp.Event ack) empty()The empty Write doesn't write anything and isn't acknowledged.scala.Option<scala.Tuple2<ByteString,Tcp.Event>>
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
Write$
public Write$()
-
-
Method Details
-
empty
The empty Write doesn't write anything and isn't acknowledged. It will, however, be denied and sent back withCommandFailedif the connection isn't currently ready to send any data (because another WriteCommand is still pending). -
apply
Create a new unacknowledged Write command with the given data. -
apply
-
unapply
-