Cisco Cisco Computer Telephony Integration OS 8.5 Guia Do Programador

Página de 546
 
9-45
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
 
Chapter 9      Agent Object
Methods
Parameters
args
An input parameter in the form of a pointer to an Arguments array that 
contains a member with a string value that is the UniqueObjectID of the 
desired agent. This should be packaged with the keyword “AgentReference”.
errorcode
An output parameter (return parameter in VB) that contains an error code 
from 
 in 
Return Value
Default CTI OS return values. Se
Remarks
This request is specific to the Supervisor feature and should only be used on 
switches or configurations that have the necessary support (currently, Cisco IPCC 
only).
StartMonitoringAgentTeam
The StartMonitoringAgentTeam method allows the client, which must be a 
supervisor, to start monitoring the specified agent team. This will cause the 
supervisor to receive all of the OnMonitorAgentStateChange events for every 
agent on the specified team.
Syntax
C++:
int StartMonitoringAgentTeam (Arguments& args)
COM:
HRESULT StartMonitoringAgentTeam (/*[in]*/ IArguments args, 
/*[out,retval]*/ int * errorcode)
VB:
StartMonitoringAgentTeam (args as CTIOSCLIENTLib.IArguments) As 
Long
Java:
int StartMonitoringAgentTeam (Arguments args)