Package org.apache.pekko.io
Class Tcp.Write$
- java.lang.Object
- 
- org.apache.pekko.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 SummaryFields Modifier and Type Field Description static Tcp.Write$MODULE$Static reference to the singleton instance of this Scala object.
 - 
Constructor SummaryConstructors Constructor Description Write$()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Tcp.Writeapply(ByteString data)Create a new unacknowledged Write command with the given data.Tcp.Writeapply(ByteString data, Tcp.Event ack)Tcp.Writeempty()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- 
emptypublic Tcp.Write 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).
 - 
applypublic Tcp.Write apply(ByteString data) Create a new unacknowledged Write command with the given data.
 - 
applypublic Tcp.Write apply(ByteString data, Tcp.Event ack) 
 - 
unapplypublic scala.Option<scala.Tuple2<ByteString,Tcp.Event>> unapply(Tcp.Write x$0) 
 
- 
 
-