Class CMMqttEventHandler


public class CMMqttEventHandler extends CMEventHandler
The CMMqttEventHandler class represents a CM event handler that processes incoming CM MQTT events.
  • Constructor Details

    • CMMqttEventHandler

      public CMMqttEventHandler(CMInfo cmInfo)
  • Method Details

    • processEvent

      public boolean processEvent(CMEvent event)
      Description copied from class: CMEventHandler
      Handles an incoming CM event.

      A sub-class implements this method and it is called by CM whenever the event with a specific event type is received.

      Specified by:
      processEvent in class CMEventHandler
      Parameters:
      event - - the incoming CM event.
      Returns:
      true if the event is successfully processed, or false.