class AbstractNIOConnPool.InternalSessionRequestCallback extends java.lang.Object implements SessionRequestCallback
| Constructor and Description |
|---|
InternalSessionRequestCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelled(SessionRequest request)
Triggered on cancellation of a
SessionRequest. |
void |
completed(SessionRequest request)
Triggered on successful completion of a
SessionRequest. |
void |
failed(SessionRequest request)
Triggered on unsuccessful completion a
SessionRequest. |
void |
timeout(SessionRequest request)
Triggered if a
SessionRequest times out. |
public void completed(SessionRequest request)
SessionRequestCallbackSessionRequest.
The SessionRequest.getSession() method can now be used to obtain
the new I/O session.completed in interface SessionRequestCallbackrequest - session request.public void cancelled(SessionRequest request)
SessionRequestCallbackSessionRequest.cancelled in interface SessionRequestCallbackrequest - session request.public void failed(SessionRequest request)
SessionRequestCallbackSessionRequest.
The SessionRequest.getException() method can now be used to
obtain the cause of the error.failed in interface SessionRequestCallbackrequest - session request.public void timeout(SessionRequest request)
SessionRequestCallbackSessionRequest times out.timeout in interface SessionRequestCallbackrequest - session request.