Class Tcp.PeerClosed$

java.lang.Object
org.apache.pekko.io.Tcp.PeerClosed$
All Implemented Interfaces:
Serializable, DeadLetterSuppression, NoSerializationVerificationNeeded, Tcp.ConnectionClosed, Tcp.Event, Tcp.Message, scala.Equals, scala.Product
Enclosing class:
Tcp

public static class Tcp.PeerClosed$ extends Object implements Tcp.ConnectionClosed, scala.Product, Serializable
The peer has closed its writing half of the connection.
See Also:
  • Field Details

    • MODULE$

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

    • PeerClosed$

      public PeerClosed$()
  • Method Details

    • isPeerClosed

      public boolean isPeerClosed()
      Description copied from interface: Tcp.ConnectionClosed
      true iff the connection has been closed by the peer; in case keepOpenOnPeerClosed is in effect as per the Tcp.Register command, this connection’s reading half is now closed.
      Specified by:
      isPeerClosed in interface Tcp.ConnectionClosed
    • 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