Class Tcp.Abort$

java.lang.Object
org.apache.pekko.io.Tcp.Abort$
All Implemented Interfaces:
Serializable, DeadLetterSuppression, NoSerializationVerificationNeeded, org.apache.pekko.io.SelectionHandler.HasFailureMessage, Tcp.CloseCommand, Tcp.Command, Tcp.Message, scala.Equals, scala.Product
Enclosing class:
Tcp

public static class Tcp.Abort$ extends Object implements Tcp.CloseCommand, scala.Product, Serializable
An abort operation will not flush pending writes and will issue a TCP ABORT command to the O/S kernel which should result in a TCP_RST packet being sent to the peer. The sender of this command and the registered handler for incoming data will both be notified once the socket is closed using a Aborted message.
See Also:
  • Field Details

    • MODULE$

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

    • Abort$

      public Abort$()
  • Method Details

    • event

      public Tcp.Aborted$ event()
      The corresponding event which is sent as an acknowledgment once the close operation is finished.
      Specified by:
      event in interface Tcp.CloseCommand
    • productPrefix

      public String productPrefix()
      Specified by:
      productPrefix in interface scala.Product
    • productArity

      public int productArity()
      Specified by:
      productArity in interface scala.Product
    • productElement

      public Object productElement(int x$1)
      Specified by:
      productElement in interface scala.Product
    • productIterator

      public scala.collection.Iterator<Object> productIterator()
      Specified by:
      productIterator in interface scala.Product
    • canEqual

      public boolean canEqual(Object x$1)
      Specified by:
      canEqual in interface scala.Equals
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object