Interface PhoneSystemConnector
-
- All Known Subinterfaces:
AgentDeviceControlConnector
,CallRoutingConnector
public interface PhoneSystemConnector
ThePhoneSystemConnector
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 likeCallRoutingConnector
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
configurationChanged(PhoneSystem phoneSystem)
The method is called when thePhoneSystem
of thePhoneSystemConnector
has been changed.void
connect()
The method is called after the initialization has been completed.void
init(PhoneSystem phoneSystem, PhoneSystemStateEventListener phoneSystemStateEventListener)
The init method is called to initialize aPhoneSystemConnector
.void
release()
The method will be called when thePhoneSystemConnector
is disposed e.g.
-
-
-
Method Detail
-
init
void init(PhoneSystem phoneSystem, PhoneSystemStateEventListener phoneSystemStateEventListener) throws PhoneSystemException
The init method is called to initialize aPhoneSystemConnector
. The method will be called after a new instance of aPhoneSystemConnector
has been created.- Parameters:
phoneSystem
- thePhoneSystem
instance provides storage and configuration for the connectorphoneSystemStateEventListener
- 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 aPhoneSystemConnector
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 thePhoneSystem
of thePhoneSystemConnector
has been changed.- Parameters:
phoneSystem
- thePhoneSystem
instance that has changed- Since:
- 11.27
-
release
void release()
The method will be called when thePhoneSystemConnector
is disposed e.g. on system shutdown or before being replaced.- Since:
- 11.27
-
-