Interface InboundMessageListener
- All Known Implementing Classes:
InboundSolMessageListener
public interface InboundMessageListener
Interface for incoming payloads.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisPayloadSupported(IpmiPayload payload) Checks if given payload is supported by thisInboundMessageListenerinstance.voidnotify(IpmiPayload payload) Notify listener about received inbound message.
-
Method Details
-
isPayloadSupported
Checks if given payload is supported by thisInboundMessageListenerinstance. This method should be called prior to invokingnotify(IpmiPayload).- Parameters:
payload-IpmiPayloadinstance to check- Returns:
- true if payload is supported by this object, false otherwise
-
notify
Notify listener about received inbound message. This method should be invoked only with payload for whichisPayloadSupported(IpmiPayload)returned true.- Parameters:
payload- payload extracted from inbound message
-