Agent Interaction SDK Application Blocks Guide

 

The Connector Application Block

Summary: This section presents the design and use of the Connector Application Block.

Design of the Connector Application Block

Figure 3.1. Class Diagram of the Connector Application Block

Table 3.1 describes each of the components in Figure 3.1.

Table 3.1 Connector Application Block Component Description

Class Name

Description

ApplicationParameters

Contains parameters to connect to the Genesys Framework.

Connector

Connects to the Genesys Framework.

ServiceStatusListenerAdapter

Listens to service status events. If a service provided by the Genesys Framework changes, this listener is notified and displays the service information.

Using the Connector Application Block

To connect to the Genesys Framework, fill in an ApplicationParameters instance with parameters defined in the Configuration Layer. Then, by calling the Connector.init() method, your application connects, as shown in the following code snippet.

Connector mCnx = new Connector();
ApplicationParameters mAppliParam = new ApplicationParameters();
mAppliParam.init("myPrimaryHostname",0000,"myBackup_hostname", 0000,"Username","Password", ‚ "ApplicationName", AilLoader.ApplicationType.SERVER, 0000, 3, 5);

mCnx.init(mAppliParam);

Once the Connector instance is initialized, call the Connector.getAIL() method to access AIL objects.

Top of the page

Back to the main page