Class 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 Detail

      • MODULE$

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

      • Write$

        public 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.