Package org.apache.pekko.io
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final Tcp.PeerClosed$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleantrueiff the connection has been closed by the peer; in casekeepOpenOnPeerClosedis in effect as per theTcp.Registercommand, this connection’s reading half is now closed.intproductElement(int x$1) scala.collection.Iterator<Object>toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Equals
equalsMethods inherited from interface scala.Product
productElementName, productElementNamesMethods inherited from interface org.apache.pekko.io.Tcp.ConnectionClosed
getErrorCause, isAborted, isConfirmed, isErrorClosed
-
Field Details
-
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.ConnectionClosedtrueiff the connection has been closed by the peer; in casekeepOpenOnPeerClosedis in effect as per theTcp.Registercommand, this connection’s reading half is now closed.- Specified by:
isPeerClosedin interfaceTcp.ConnectionClosed
-
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
hashCode
public int hashCode() -
toString
-