public interface SessionEvents
Session events.| Modifier and Type | Method and Description |
|---|---|
void |
handleConfirmation(String uniqueId,
Confirmation confirmation)
Handle a
Confirmation to a Request. |
void |
handleConnectionClosed()
Handle a closed connection.
|
void |
handleConnectionOpened()
Handle a opened connection.
|
void |
handleError(String uniqueId,
String errorCode,
String errorDescription,
Object payload)
Handle a error to a
Request. |
Confirmation |
handleRequest(Request request)
Handle a incoming
Request. |
void handleConfirmation(String uniqueId, Confirmation confirmation)
Confirmation to a Request.uniqueId - the unique id used for the Request.confirmation - the Confirmation to the Request.Confirmation handleRequest(Request request) throws UnsupportedFeatureException
Request.request - the Request.Confirmation to send as a response.UnsupportedFeatureExceptionvoid handleError(String uniqueId, String errorCode, String errorDescription, Object payload)
Request.uniqueId - the unique identifier for the Request.errorCode - string to indicate the error.errorDescription - description of the error.payload - a raw payload.void handleConnectionClosed()
void handleConnectionOpened()
Copyright © 2022. All rights reserved.