Interface ConnectionListener

All Known Implementing Classes:
IpmiAsyncConnector

public interface ConnectionListener
Interface for the Connection listener.
  • Method Details

    • processResponse

      void processResponse(ResponseData responseData, int handle, int id, Exception exception)
      Notifies the ConnectionListeners of the one of the following events:
      • response to the request tagged with id arrived
      • request tagged with id timed out
      Parameters:
      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 message
      id - - tag of the request-response pair
      exception - - null if everything went correctly or timeout occured, contains exception that occured during decoding if it failed.
    • processRequest

      void processRequest(IpmiPayload payload)