Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide
C H A P T E R
7-1
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions
Cisco CTI OS Release 7.2(1)
7
CtiOs Object
All of the interface objects in the CTIOS Client Interface Library support some common features, such
as the IsValid and GetValue methods. This chapter describes these common features.
as the IsValid and GetValue methods. This chapter describes these common features.
The CCtiOsObject class is the common base class for the objects in the CTIOS client interface library.
It is implemented as follows:
It is implemented as follows:
•
In C++: all of the interface objects (CAgent, CCall, CCtiOsSession, CSkillGroup) derive from the
CtiOS object. Thus, all the interface methods described in this chapter are directly available on the
C++ objects.
CtiOS object. Thus, all the interface methods described in this chapter are directly available on the
C++ objects.
•
In COM (VB and C++): the COM objects for Agent, Call, Session, and SkillGroup publish a subset
of these methods (as is appropriate for the language), and the underlying implementation of the
objects uses the C++ CCtiOsObject class to provide these features.
of these methods (as is appropriate for the language), and the underlying implementation of the
objects uses the C++ CCtiOsObject class to provide these features.
•
In Java: All CTI OS interface objects (Agent, Call, Session, and SkillGroup) derive from the CtiOS
object. Thus, all the interface methods described in this chapter are directly available on the Java
objects.
object. Thus, all the interface methods described in this chapter are directly available on the Java
objects.
•
In .NET: all of the interface objects (Agent, Call, Session, and SkillGroup) derive from the CtiOS
object. Thus, all the interface methods described in this chapter are directly available on the .NET
objects.
object. Thus, all the interface methods described in this chapter are directly available on the .NET
objects.
The CCtiOsObject provides basic services including:
•
Dynamic management of the object properties
•
Object lifetime control using a reference counting mechanism.
•
Run-time class information
Methods
Table 7-1
CCtiOsObject Class Methods
Method
Description
DumpProperties
Returns a string listing all of an object’s
properties’ names and values.
properties’ names and values.
GetAllProperties
Returns all of the object’s properties as Args
(name/value pairs).
(name/value pairs).
GetElement
Returns the value of an element.