public static 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, waitisAborted, isConfirmed, isPeerClosedpublic java.lang.String cause()
public boolean isErrorClosed()
Tcp.ConnectionClosedtrue iff the connection has been closed due to an IO error.isErrorClosed in interface Tcp.ConnectionClosedpublic java.lang.String getErrorCause()
Tcp.ConnectionClosedisErrorClosed returns true, then the error condition can be
retrieved by this method.getErrorCause in interface Tcp.ConnectionClosed