Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 500
C H A P T E R
   
7-1
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 7.5(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. 
The CCtiOsObject class is the common base class for the objects in the CTIOS client interface library. 
It is implemented as follows:
In C++: all of the interface objects (CAgentCCallCCtiOsSessionCSkillGroup) derive from the 
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 AgentCallSession, 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.
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 on the Java 
objects.
In .NET: all of the 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.