Cisco Cisco Computer Telephony Integration OS 8.5 Guida Dello Sviluppatore
Chapter 8 Session Object
Methods
8-28
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
–
eAgentDesktop (0)
–
eSupervisorDesktop (1)
errorcode
An output parameter (return parameter in VB) that contains an error code
from
from
in
Return Values
Default CTI OS return values. See
Remarks
A successful RequestDesktopSettings request results in an
OnGlobalSettingsDownloadConf event.
OnGlobalSettingsDownloadConf event.
SetAgent
The SetAgent method assigns an agent to this Session object. The agent object
used as a parameter in this method should have the following properties set:
used as a parameter in this method should have the following properties set:
•
CTIOS_AGENTID
•
CTIOS_PERIPHERALID
Syntax
C++:
int SetAgent(CAgent& agent)
COM:
HRESULT SetAgent(/*[in]*/IAgent *agent, /*[out, retval]*/ int *
errorcode)
VB:
SetAgent (agent As CTIOSCLIENTLib.IAgent) As Long
Java:
int SetAgent(Agent agentObject)
Parameters
agent
The agent to be assigned to the Session object.