public static final class Tcp.ErrorClosed extends java.lang.Object implements Tcp.ConnectionClosed, scala.Product, scala.Serializable
Constructor and Description |
---|
ErrorClosed(java.lang.String cause) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
cause() |
java.lang.String |
getErrorCause()
If
isErrorClosed returns true, then the error condition can be
retrieved by this method. |
boolean |
isErrorClosed()
true iff the connection has been closed due to an IO error. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAborted, isConfirmed, isPeerClosed
public java.lang.String cause()
public boolean isErrorClosed()
Tcp.ConnectionClosed
true
iff the connection has been closed due to an IO error.isErrorClosed
in interface Tcp.ConnectionClosed
public java.lang.String getErrorCause()
Tcp.ConnectionClosed
isErrorClosed
returns true, then the error condition can be
retrieved by this method.getErrorCause
in interface Tcp.ConnectionClosed