Interface ConnectionListener
- All Known Implementing Classes:
IpmiAsyncConnector
public interface ConnectionListener
Interface for the
Connection listener.-
Method Summary
Modifier and TypeMethodDescriptionvoidprocessRequest(IpmiPayload payload) voidprocessResponse(ResponseData responseData, int handle, int id, Exception exception) Notifies theConnectionListeners of the one of the following events: response to the request tagged with id arrived request tagged with id timed out
-
Method Details
-
processResponse
Notifies theConnectionListeners of the one of the following events:- response to the request tagged with id arrived
- request tagged with id timed out
- Parameters:
responseData- -ResponseDataspecific 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.
-
processRequest
-