Class Tcp.Write$

java.lang.Object
org.apache.pekko.io.Tcp.Write$
All Implemented Interfaces:
Serializable
Enclosing class:
Tcp

public static class Tcp.Write$ extends Object implements Serializable
See Also:
  • Field Details

    • MODULE$

      public static final Tcp.Write$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • Write$

      public Write$()
  • Method Details

    • 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.
    • apply

      public Tcp.Write apply(ByteString data, Tcp.Event ack)
    • unapply

      public scala.Option<scala.Tuple2<ByteString,Tcp.Event>> unapply(Tcp.Write x$0)