Open Media Interaction SDK 7.6 Application Blocks Guide

 

Monitoring Application Block

Summary: This section presents the design and use of the Monitoring Application Blocks.

Design of the Monitoring Application Block

The Monitoring Application Block provides a set of classes that you can use to implement a monitoring application. Each class shows how to implement a QIL feature.

Figure 3.1. Class Diagram of the Monitoring Application Block

Table 3.1 describes each of the components in Figure 3.1.

Class Names

Description

ConnectorQIL

Implements the connection to the Genesys Framework for a QIL application.

MyQILQueueListener
QueueListeners

Monitor queue events.

MyQILInteractionListener
InteractionListeners

Monitor interaction events.

GetBusinessAttribute
GetQueue

Retrieve QIL data.

AdHocManagement

Shows how to implement a QIL AdHoc application.

Using the Monitoring Application Block

This section shows how to make use of the AdHocManagement classes of the Monitoring Application Block.

The following code snippet change the QIL operational mode to supervisor, and then lock a QIL interaction.

AdHocManagement mAdHocManagement = new AdHocManagement();
try {
 mAdHocManagement.changeOperationMode(isSupervisorCb.isSelected());
} catch (QILUnsuccessfulModeChangeException e) {
 e.printStackTrace();
 System.out.println("Cannot change operation mode " + e);
}

try {
 mAdHocManagement.lock("Queue ID", "IxnID", "Lock Reason", "Lock Code");
} catch (QILRequestFailedException e) {
 e.printStackTrace();
 System.out.println("Cannot lock interaction " + e);
}

Top of the page