|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An EndpointEventListener generally gets signaled when something bad happens to your endpoint. You register one of these against each of your endpoints via Endpoint.registerEventListener(). NOTE: If you thought events got propogated to one of these, you were wrong and now owe me your first born children. Events actually get propogated to EIOWorkers, and that's one concept is confusing enough to give me quite a bit of job security here. Hey wait a minute, I'm unemployed!!! Argggh!!
| Method Summary | |
void |
endpointClosed(Endpoint endpoint,
EIOReasonCode why,
java.lang.String msg,
java.lang.Throwable t,
java.lang.Object context)
A callback indicating that the specified endpoint was closed. |
void |
reportReadError(Endpoint endpoint,
EIOReasonCode why,
java.lang.String msg,
java.lang.Throwable t,
java.lang.Object context)
Reports that a non-fatal error occured while reading from this endpoint. |
void |
reportWriteError(Endpoint endpoint,
EIOReasonCode why,
java.lang.String msg,
java.lang.Throwable t,
java.lang.Object context)
Reports that a non-fatal error occured while writing to this endpoint. |
| Method Detail |
public void endpointClosed(Endpoint endpoint,
EIOReasonCode why,
java.lang.String msg,
java.lang.Throwable t,
java.lang.Object context)
endpoint - The endpoint that was closedwhy - Indicator as to why the endpoint was closedmsg - Semi-friendly text explaining in more detail why it was closed. May be null!t - Exception that caused the close. May be null if an exception was not the causecontext - An object that indicates the context in which the close happened. Usually null, but app code may override with its own meaning
public void reportReadError(Endpoint endpoint,
EIOReasonCode why,
java.lang.String msg,
java.lang.Throwable t,
java.lang.Object context)
public void reportWriteError(Endpoint endpoint,
EIOReasonCode why,
java.lang.String msg,
java.lang.Throwable t,
java.lang.Object context)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||