Package akka.io

Class Tcp.SimpleWriteCommand

    • Constructor Detail

      • SimpleWriteCommand

        public SimpleWriteCommand()
    • Method Detail

      • ack

        public abstract Tcp.Event ack()
        The acknowledgment token associated with this write command.
        Returns:
        (undocumented)
      • append

        public Tcp.CompoundWrite append​(Tcp.WriteCommand that)
        Java API: appends this command with another WriteCommand to form a CompoundWrite.
        Parameters:
        that - (undocumented)
        Returns:
        (undocumented)
      • wantsAck

        public boolean wantsAck()
        An acknowledgment is only sent if this write command “wants an ack”, which is equivalent to the ack() token not being a of type Tcp.NoAck.
        Returns:
        (undocumented)