Package org.apache.pekko.io
Class Tcp.ErrorClosed
java.lang.Object
org.apache.pekko.io.Tcp.ErrorClosed
- All Implemented Interfaces:
Serializable,DeadLetterSuppression,NoSerializationVerificationNeeded,Tcp.ConnectionClosed,Tcp.Event,Tcp.Message,scala.Equals,scala.Product
- Enclosing class:
- Tcp
public static final class Tcp.ErrorClosed
extends Object
implements Tcp.ConnectionClosed, scala.Product, Serializable
The connection has been closed due to an IO error.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancause()booleanIfisErrorClosedreturns true, then the error condition can be retrieved by this method.inthashCode()booleantrueiff the connection has been closed due to an IO error.intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNamesMethods inherited from interface org.apache.pekko.io.Tcp.ConnectionClosed
isAborted, isConfirmed, isPeerClosed
-
Constructor Details
-
ErrorClosed
-
-
Method Details
-
cause
-
isErrorClosed
public boolean isErrorClosed()Description copied from interface:Tcp.ConnectionClosedtrueiff the connection has been closed due to an IO error.- Specified by:
isErrorClosedin interfaceTcp.ConnectionClosed
-
getErrorCause
Description copied from interface:Tcp.ConnectionClosedIfisErrorClosedreturns true, then the error condition can be retrieved by this method.- Specified by:
getErrorCausein interfaceTcp.ConnectionClosed
-
copy
-
copy$default$1
-
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
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-