public interface ConnectionListener
Connection
listener.Modifier and Type | Method and Description |
---|---|
void |
notify(ResponseData responseData,
int handle,
int id,
java.lang.Exception exception)
Notifies the
ConnectionListener s of the one of the following
events: response to the request tagged with id arrived request
tagged with id timed out |
void notify(ResponseData responseData, int handle, int id, java.lang.Exception exception)
ConnectionListener
s of the one of the following
events: responseData
- - ResponseData
specific for the request if it was
completed successfully, null if it timed out or an error
occured during decoding.handle
- - the id of the connection that received the messageid
- - tag of the request-response pairexception
- - null if everything went correctly or timeout occured,
contains exception that occured during decoding if it failed.