Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 508
   
6-74
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 8.0(1)
Chapter 6      Event Interfaces and Events
IAgentEvents Interface
OnSetAgentStateConf
The OnSetAgentStateConf confirmation message is fired to the client to indicate that the SetAgentState 
request was received by the CTI Server. This confirmation message does not indicate that the agent has 
changed to the desired state; rather, the programmer should expect one or more OnAgentStateChange 
events to indicate the change of state.
Syntax
C++:
int OnSetAgentStateConf (Arguments & args);
COM:
 HRESULT OnSetAgentStateConf ([out] IArguments * args);
VB:
 Session_ OnSetAgentStateConf (ByVal args as CTIOSCLIENTLIB.IArguments)
Java: void OnSetAgentStateConf (Arguments args);
Parameters
args
Not used; reserved for future use.
OnStartMonitoringAgent
The OnStartMonitoringAgent event is generated when a new agent is selected to be monitored in 
response to a StartMonitoringAgent() request.
Syntax
C++:
void OnStartMonitoringAgent (Arguments& args)
COM:
void OnStartMonitoringAgent (IArguments * args)
VB:
session_OnStartMonitoringAgent (ByVal args As CtiosCLIENTLib.IArguments)
Parameters
args
Arguments array containing the following fields.
CIL ConnectionID
STRING
ID of the client’s connection on the server.
StatusSystem
ARGUMENTS
Arguments array containing the following 
elements:
StatusCTIServer
StatusCtiServerDriver
StatusCentralController
StatusPeripherals  (Arguments array with a 
peripheral id for each key and a boolean 
true/false value indicating if that peripheral 
is online)