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. You implement it 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.
-
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.
-
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.
-
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.
The CCtiOsObject provides basic services including:
-
Dynamic management of the object properties
-
Object lifetime control using a reference counting mechanism
-
Run-time class information