Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 546
 
9-19
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
 
Chapter 9      Agent Object
Methods
Java:
int GetAgentState()
Parameters
state
Output parameter (return parameter in VB) containing the current agent state 
in the form of one of the values in 
GetAllProperties
See 
 for a description of the GetAllProperties method.
GetElement
See 
 for a description of the GetElement method.
GetMonitoredAgent
The GetMonitoredAgent method returns the agent object that is currently being 
monitored.
Syntax
C++:
CAgent* GetMonitoredAgent()
COM:
HRESULT GetMonitoredAgent (/*[out, retval]*/IAgent **agent)
VB:
GetMonitoredAgent () As CTIOSCLIENTLib.IAgent
Java:
Agent GetMonitoredAgent()
Parameters
agent 
Output parameter (return parameter in VB) that contains a pointer to a pointer 
to an Agent object containing the currently monitored agent.