Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 506
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. 
The CCtiOsObject class is the common base class for the objects in the CTI OS client interface library. 
It is implemented as follows:
In C++: All interface objects (CAgentCCallCCtiOsSessionCSkillGroup) derive from the CtiOS 
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 AgentCallSession, 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.
In Java: All CTI OS interface objects (AgentCallSession, and SkillGroup) derive from the CtiOS 
object. Thus, all the interface methods described in this chapter are directly available in the Java 
objects.
In .NET: All interface objects (AgentCallSession, and SkillGroup) derive from the CtiOS 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
 lists the available CCtiOsObject class methods.
Table 7-1
CCtiOsObject Class Methods
Method
Description
DumpProperties
Returns a string listing all of an object’s 
properties’ names and values.
GetAllProperties
Returns all of the object’s properties as Args 
(name/value pairs).
GetElement
Returns the value of an element.