Interface MessengerConnector

All Superinterfaces:
MessengerConnectorConversationTypingEventListener, MessengerConnectorMessageReceivedStatusEventListener, MessengerConnectorMessageSender, MessengerConnectorStatusReceivedEventListener, MessengerConnectorStatusSender

This interface is an extension point to implement message retrieval from different sources to the novomind iAGENT system and also the delivery of the messages back to the source, after the message has been answered by the novomind iAGENT system.

Each implementation of the interface MessengerConnector must be annotated with the annotation MessengerConnectorPlugin to be loaded during runtime.
Since:
12.20
  • Method Details

    • init

      void init(MessengerAccount messengerAccount, MessengerConnectorEventListener messengerConnectorEventListener, org.slf4j.Logger logger)
      The method is called after an instance of the MessengerConnector has been instantiated.
      Parameters:
      messengerAccount - the messenger account that is running this MessengerConnector
      messengerConnectorEventListener - the event listener for this MessengerConnector
      logger - the logger of the messenger account running the MessengerConnector
      Since:
      12.20
    • release

      void release()
      The method is called before an instance of the MessengerConnector is being released or replaced by another e.g. because of a change of messenger account configuration or system shutdown.
      Since:
      12.20