Interface InboundMessageListener

All Known Implementing Classes:
InboundSolMessageListener

public interface InboundMessageListener
Interface for incoming payloads.
  • Method Details

    • isPayloadSupported

      boolean isPayloadSupported(IpmiPayload payload)
      Checks if given payload is supported by this InboundMessageListener instance. This method should be called prior to invoking notify(IpmiPayload).
      Parameters:
      payload - IpmiPayload instance to check
      Returns:
      true if payload is supported by this object, false otherwise
    • notify

      void notify(IpmiPayload payload)
      Notify listener about received inbound message. This method should be invoked only with payload for which isPayloadSupported(IpmiPayload) returned true.
      Parameters:
      payload - payload extracted from inbound message