20050930Dynamic Library for OpenH323
来源:互联网 发布:mysql约束类型 编辑:程序博客网 时间:2024/05/08 16:26
Because it is too annoying to link our Virtual Space with the original Openh323 and Pwlib libraries, the best way to simplify the components is to encapsulate them into an exclusive library. Then we did it.
Our intention is not only to simplify the library, but also to remove the dependence on pwlib and openh323. Consequently a class inherited from Openh323 doesn't satisfy us, for it need the project to include all the header files of Openh323 and pwlib.
In conclusion, the final solution is described as follow:
1. Create a class named CH323EndPoint inherited from H323EndPoint class of Openh323, it realizes all the functions that a terminal needs. Such as openvideochannel and openaudiochannel.
2. Build a class named CDOCEndPoint that inherited from none. This is actually a proxy class that realizes the functions substituding for CH323EndPoint. In order to do this, we must create a instance of CH323EndPoint which does the work in CDOCEndPoint. Thus, what we need to do is only to inherit from CDOCEndPoint, which does no matter with OpenH323.
The greatest advantage is that what the final endpoint project need to include is only the header file of CDOCEndPoint, and we could modify the interface of CDOCEndPoint so much as you need! It help us remove dependence on Pwlib library.
And at last, we succeed! The final CDOCEndPoint library is simple enough for anybody to build a endpoint project. What's more......it does work!
Our intention is not only to simplify the library, but also to remove the dependence on pwlib and openh323. Consequently a class inherited from Openh323 doesn't satisfy us, for it need the project to include all the header files of Openh323 and pwlib.
In conclusion, the final solution is described as follow:
1. Create a class named CH323EndPoint inherited from H323EndPoint class of Openh323, it realizes all the functions that a terminal needs. Such as openvideochannel and openaudiochannel.
2. Build a class named CDOCEndPoint that inherited from none. This is actually a proxy class that realizes the functions substituding for CH323EndPoint. In order to do this, we must create a instance of CH323EndPoint which does the work in CDOCEndPoint. Thus, what we need to do is only to inherit from CDOCEndPoint, which does no matter with OpenH323.
The greatest advantage is that what the final endpoint project need to include is only the header file of CDOCEndPoint, and we could modify the interface of CDOCEndPoint so much as you need! It help us remove dependence on Pwlib library.
And at last, we succeed! The final CDOCEndPoint library is simple enough for anybody to build a endpoint project. What's more......it does work!
- 20050930Dynamic Library for OpenH323
- OpenH323
- [Linux] static library & dynamic library
- DLL(Dynamic Linkable Library)
- Dynamic Link Library
- Dynamic Link Library
- DLL (Dynamic Link Library)
- Dynamic-link library
- DLL(Dynamic Link Library )
- Dynamic Library Programming Topics
- linux dynamic , static library
- Dynamic-link library
- Dynamic Library 动态库
- 创建动态菜单的JSP自定义标签(A Custom JSP Tag Library for Dynamic Menus)
- Make sure DBMS client is installed and this required library is available for dynamic loading
- using dynamic library in c++
- dynamic linked library on linux
- Static Dynamic Library Or Framework
- 设计模式之Bridge-----2
- 如何编辑VC中的树形控件的结点文本!
- 收藏:1000本Delphi编程技术电子书专题下载
- 2005.09.20,出生日
- 硅谷一半公司外包,印度获益最大
- 20050930Dynamic Library for OpenH323
- 搜索引擎大战网络市场[zz]
- VC数据库编程分析
- SQL Server連接失敗錯誤及解決
- 深入 CSocket 编程之阻塞和非阻塞模式
- 用VC创建图标,位图按钮
- 用VC进行典型网络数据库系统软件设计
- 使用OleDbCommandBuilder时出现“Insert into 语句的语法错误”的解决方法
- 一夜之间我变成黑户