Cisco Cisco Computer Telephony Integration Option 9.0 开发者指南
12-33
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1)
Chapter 12 Helper Classes
CILRefArg Class (C++, Java, and .NET only)
CILRefArg Class (C++, Java, and .NET only)
The CILRefArg class is a subclass of the Arg class. Its main responsibility is to
store a reference of a CCtiOsObject object (see
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.
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
contains the methods listed in
.
GetType
The GetType method returns the type of the data stored by the Arg. For a
CilRefArg, this will always be ARG_REFERENCE.
CilRefArg, this will always be ARG_REFERENCE.
Syntax
C++:
enumArgTypes GetType()
COM:
HRESULT GetType(/*[out, retval]*/ int* type);
VB:
GetType () as Integer
Java:
int GetType()
.NET:
Use the GetArgType method.
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.
CILRefArg object.