public interface SessionRequestCallback
| 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. |
void completed(SessionRequest request)
SessionRequest.
The SessionRequest.getSession() method can now be used to obtain
the new I/O session.request - session request.void failed(SessionRequest request)
SessionRequest.
The SessionRequest.getException() method can now be used to
obtain the cause of the error.request - session request.void timeout(SessionRequest request)
SessionRequest times out.request - session request.void cancelled(SessionRequest request)
SessionRequest.request - session request.Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.