Class Tcp.Close$

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

    • MODULE$

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

    • Close$

      public Close$()
  • Method Details

    • event

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