java.lang.Object
com.inductiveautomation.eventstream.gateway.handlers.NoOpHandler
All Implemented Interfaces:
EventStreamHandler

public class NoOpHandler extends Object implements EventStreamHandler
  • Field Details

  • Constructor Details

    • NoOpHandler

      public NoOpHandler()
  • Method Details

    • createFactory

      public static EventStreamHandler.Factory createFactory()
    • handle

      public void handle(List<EventPayload> events, boolean testMode) throws Exception
      Description copied from interface: EventStreamHandler
      Called when a batch of events is ready to be processed. It's important that an exception is throw on errors encountered during handling of events. If an exception is encountered, it should be expected that the method may be called again in the future with the same events. This is determined by the failure strategy specified by the Event Stream configuration.
      Specified by:
      handle in interface EventStreamHandler
      Parameters:
      events - List of events to process.
      testMode - True, if Event Stream is running in test mode. If running in testMode, expressions should be evaluated with no other side effects.
      Throws:
      Exception - Exception thrown during processing.