Interface IServiceConsumer<T>

    • Method Detail

      • intitialize

        void intitialize​(IServiceEventTracker tracker)
        Initializes the consumer with the given tracker. Also it is the point to initialize listeners for external events.
        Parameters:
        tracker - the tracker.
      • notifyServiceEventQualifierScopeChanged

        void notifyServiceEventQualifierScopeChanged​(Collection<IServiceEventQualifier> qualifiers)
        Notifies the consumer that the scope of processing service events was changed.
        Parameters:
        qualifiers - the service event qualifiers.
      • accept

        void accept​(T externalEvent)
        Accepts the given event object from service and processes it.
        Parameters:
        externalEvent - the event or message object from service.
      • dispose

        void dispose()
        Disposes the consumer.