Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 546
 
Chapter 12      Helper Classes
CILRefArg Class (C++ and Java only)
12-30
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
CILRefArg Class (C++ and Java only)
The CILRefArg class is a subclass of the Arg class. Its main responsibility is to 
store a reference of a CCtiOsObject object (see 
). This 
class allows object references to be included in argument structure. The object 
types that can be used are any of the following: CAgent, CCall, CSkillGroup, 
CWaitObject or CCtiOsSession.
In addition to the methods inherited from the Arg class, the CILRefArg class 
contains the methods listed in 
GetType
The CilRefArg class GetType method returns the ARG_REFERENCE. It is 
defined an enumerated type to represent CTI OS Objects references. It has the 
same syntax as the Arg class GetType method.
GetUniqueObjectID (Java only)
The GetUniqueObjectID method returns the unique objectID of the contained 
CtiOsObject.
Syntax
String      GetUniqueObjectID() 
Table 12-6 CILRefArg Class Methods
Method
Description
GetType
Returns the ARG_REFERENCE.
GetUniqueObjectID
Returns the UID of the contained CtiOsObject 
GetValue
Returns the encapsulated pointer in the object.
SetValue
Encapsulates the pointer to CTI OS object into the 
CILRefArg object.