Interface PhoneSystemConnector

  • All Known Subinterfaces:
    AgentDeviceControlConnector, CallRoutingConnector

    public interface PhoneSystemConnector
    The PhoneSystemConnector is an abstract interface to provide life cycle functionality to the client side phone system connector implementations within the novomind iAGENT routing process. This interface is only a common interface for the more specific interfaces like CallRoutingConnector AgentDeviceControlConnector Please use the more specific interfaces to provide the desired functionality. The more specific interfaces may also be combined and implemented together by the same connector implementation.
    Since:
    11.27
    • Method Detail

      • init

        void init​(PhoneSystem phoneSystem,
                  PhoneSystemStateEventListener phoneSystemStateEventListener)
           throws PhoneSystemException
        The init method is called to initialize a PhoneSystemConnector. The method will be called after a new instance of a PhoneSystemConnector has been created.
        Parameters:
        phoneSystem - the PhoneSystem instance provides storage and configuration for the connector
        phoneSystemStateEventListener - to inform novomind iAGENT about general connector state changes
        Throws:
        PhoneSystemException - if any error occurs during client initialization
        Since:
        11.27
      • connect

        void connect()
              throws PhoneSystemException
        The method is called after the initialization has been completed. The implementation of a PhoneSystemConnector should establish any kind of permanent remote connections within this method.
        Throws:
        PhoneSystemException - if any error occurs on connecting to the backend.
        Since:
        11.27
      • configurationChanged

        void configurationChanged​(PhoneSystem phoneSystem)
        The method is called when the PhoneSystem of the PhoneSystemConnector has been changed.
        Parameters:
        phoneSystem - the PhoneSystem instance that has changed
        Since:
        11.27
      • release

        void release()
        The method will be called when the PhoneSystemConnector is disposed e.g. on system shutdown or before being replaced.
        Since:
        11.27