Class Tcp.ConfirmedClose$

java.lang.Object
org.apache.pekko.io.Tcp.ConfirmedClose$
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.ConfirmedClose$ extends Object implements Tcp.CloseCommand, scala.Product, Serializable
A confirmed close operation will flush pending writes and half-close the connection, waiting for the peer to close the other half. The sender of this command and the registered handler for incoming data will both be notified once the socket is closed using a ConfirmedClosed message.
See Also:
  • Field Details

    • MODULE$

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

    • ConfirmedClose$

      public ConfirmedClose$()
  • Method Details

    • event

      public Tcp.ConfirmedClosed$ 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