akka.io
Class Tcp.ErrorClosed

java.lang.Object
  extended by akka.io.Tcp.ErrorClosed
All Implemented Interfaces:
NoSerializationVerificationNeeded, Tcp.ConnectionClosed, Tcp.Event, Tcp.Message, java.io.Serializable, scala.Equals, scala.Product
Enclosing class:
Tcp

public static class Tcp.ErrorClosed
extends java.lang.Object
implements Tcp.ConnectionClosed, scala.Product, scala.Serializable

The connection has been closed due to an IO error.

See Also:
Serialized Form

Constructor Summary
Tcp.ErrorClosed(java.lang.String cause)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface akka.io.Tcp.ConnectionClosed
isAborted, isConfirmed, isPeerClosed
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

Tcp.ErrorClosed

public Tcp.ErrorClosed(java.lang.String cause)
Method Detail

cause

public java.lang.String cause()

isErrorClosed

public boolean isErrorClosed()
Description copied from interface: Tcp.ConnectionClosed
true iff the connection has been closed due to an IO error.

Specified by:
isErrorClosed in interface Tcp.ConnectionClosed

getErrorCause

public java.lang.String getErrorCause()
Description copied from interface: Tcp.ConnectionClosed
If isErrorClosed returns true, then the error condition can be retrieved by this method.

Specified by:
getErrorCause in interface Tcp.ConnectionClosed