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.
        tracker - the tracker.
      • notifyServiceEventQualifierScopeChanged

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

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

        void dispose()
        Disposes the consumer.