Cisco Cisco Computer Telephony Integration OS 8.5 Entwickleranleitung
8-19
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
Chapter 8 Session Object
Methods
Parameters
args
C++ and Java:
A pointer or a reference to an Arguments array where each
member has a string key that is the UniqueObjectID of an agent and a value
that is a reference to a CilRefArg that is a pointer to the skill group object.
that is a reference to a CilRefArg that is a pointer to the skill group object.
COM and VB:
A pointer to a VARIANT containing a SAFEARRAY of pointers
to ISKillGroups.
Return Values
Default CTI OS return values. See
The C++ and Java versions of this method return NULL if the value requested is
not found or if there is an error.
not found or if there is an error.
GetCurrentAgent
The GetCurrentAgent method returns the Agent specified when the Agent Node
connection was established. Use this method rather than
GetValue(“CurrentAgent”).
connection was established. Use this method rather than
GetValue(“CurrentAgent”).
Syntax
C++:
Agent* GetCurrentAgent()
COM:
HRESULT GetCurrentAgent(/*[out, retval]*/ IAgent *agent)
VB:
GetCurrentAgent () As CTIOSCLIENTLib. IAgent
Java:
Agent GetCurrentAgent()
Parameters
agent
An output parameter (return value in VB and C++) containing a pointer to a
pointer to an ICall that is the currently selected call.
pointer to an ICall that is the currently selected call.