Cisco Cisco Computer Telephony Integration OS 8.5 Guide Du Développeur
C H A P T E R
7-1
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(1)
7
CtiOs Object
All of the interface objects in the CTI OS 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 CTI OS client interface library.
It is implemented as follows:
It is implemented as follows:
•
In C++: All interface objects (CAgent, CCall, CCtiOsSession, CSkillGroup) derive from the CtiOS
object. Thus, all the interface methods described in this chapter are directly available in the C++
objects.
object. Thus, all the interface methods described in this chapter are directly available in the C++
objects.
•
In COM (VB and C++): The COM objects for Agent, Call, Session, and SkillGroup publish a subset
of these methods (as appropriate for the language), and the underlying implementation of the objects
uses the C++ CCtiOsObject class to provide these features.
of these methods (as 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 in the Java
objects.
object. Thus, all the interface methods described in this chapter are directly available in the Java
objects.
•
In .NET: All 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.
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.