Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 640
 
Chapter 4      Building Your Application
Working with Skill Group Statistics
4-74
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
Accessing Skill Group Statistics
Overview
Once the application is set up to receive skill group statistics, as described in the 
preceding section, you access skill group statistics through an event handler. The 
name of the event depends on the language of the application:
  •
In Java, eOnNewSkillGroupStatisticsEvent() 
  •
In C++, COM, or VB, OnSkillGroupStatisticsUpdated() 
Caution
Note carefully that the name of the event through which to access 
skill group statistics is different in Java than it is in other languages 
supported by CTI OS.
Registering to the eOnNewSkillGroupStatisticsEvent() (JAVA)
To register to receive skill group statistics, you must include the 
eOnNewSkillGroupStatisticsEvent() in the message filter.
For example, in Java, the message filter to receive skill group statistics is:
String filter = S_MESSAGEID + “=" + 
                  CtiOs_Enums.EventID.eNewSkillGroupStatisticsEvent;
For more information on message filters, see page 4-37.
Registering to the OnSkillGroupStatisticsUpdated() (C++, COM, and VB)
To register to receive skill group statistics, you must include the 
OnSkillGroupStatisticsUpdated() event in the message filter.
For more information on message filters, see page 4-37.