|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface Tcp.ConnectionClosed
This is the common interface for all events which indicate that a connection has been closed or half-closed.
| Method Summary | |
|---|---|
java.lang.String |
getErrorCause()
If isErrorClosed returns true, then the error condition can be
retrieved by this method. |
boolean |
isAborted()
true iff the connection has been closed in response to an Abort command. |
boolean |
isConfirmed()
true iff the connection has been fully closed in response to a
ConfirmedClose command. |
boolean |
isErrorClosed()
true iff the connection has been closed due to an IO error. |
boolean |
isPeerClosed()
true iff the connection has been closed by the peer; in case
keepOpenOnPeerClosed is in effect as per the Tcp.Register command,
this connection’s reading half is now closed. |
| Method Detail |
|---|
boolean isAborted()
true iff the connection has been closed in response to an Abort command.
boolean isConfirmed()
true iff the connection has been fully closed in response to a
ConfirmedClose command.
boolean isPeerClosed()
true iff the connection has been closed by the peer; in case
keepOpenOnPeerClosed is in effect as per the Tcp.Register command,
this connection’s reading half is now closed.
boolean isErrorClosed()
true iff the connection has been closed due to an IO error.
java.lang.String getErrorCause()
isErrorClosed returns true, then the error condition can be
retrieved by this method.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||