Intel 05-2065-002 manual Programming Model, Module Structure

Page 28

Demo Details

Table 4. PDL Files Used by the IP Media Server (Global Call) Demo (Continued)

Directory

File Name

Purpose

 

 

 

pdl_win

pdl_win.dsp

PDL Visual C project file

 

 

 

pdl_win

pdl_win.dsw

PDL Visual C project workspace

 

 

 

pdl_win\release

psl_win.lib

Compiled PDL library

 

 

 

5.2Programming Model

This section describes the IP Media Server (Global Call) demo architecture. It contains the following topics:

Module Structure

EventRouter

Interfaces

Classes

5.2.1Module Structure

The IP Media Server (Global Call) demo uses a modular architecture, in which each technology (IP, voice, CSP) is wrapped inside a module so that a particular technology can be easily added or removed.

The system contains two modules:

IP module that serves as the front end to communicate with the IP network

Voice module to provide voice service

The system also contains a software component, the EventRouter, to connect the modules. The basic architecture of the system is illustrated in Figure 2.

28

IP Media Server (Global Call) Demo Guide — November 2003

Image 28
Contents IP Media Server Global Call Demo Guide For Windows Operating SystemsIP Media Server Global Call Demo Guide November Contents Contents Figures Tables Revision History Document No Publication Date Description of RevisionsRevision History How to Use This Publication About This PublicationPurpose Intended AudienceRelated Information About This PublicationDemo1 Description Demo Description Hardware Requirements System2 RequirementsSoftware Requirements System Requirements Editing Configuration Files Editing the IPMediaServer.cfg Configuration FilePreparing To Run the Demo File LocationSample Configuration File Compiling and Linking Preparing to Run the Demo Command Line Switches Running4 DemoStarting the Demo Demo OptionsUsing the Demo Keyboard CommandsUsing the Media Server Runtime Keyboard CommandsConfirm Message Saved StopRecMenu Demo Voice Menu Flowchart Stopping the Demo Running the Demo Demo5 Details Files Used by the DemoDemo Source Code Files Files Used by the IP Media Server Global Call DemoDemo Details PDL Files PDL Files Used by the IP Media Server Global Call DemoProgramming Model Module StructureEventRouter IP Media Server Global Call Demo ArchitectureInterfaces EventRouterClasses Application ClassesIP Module Classes GetNumOfDevicesOnBoard Board CIPTBoard InitCIPMBoard Init Device CIPDevice Init ConnectDisconnect GetXmitSlotModule CVoiceModule Init Voice Module ClassesBoard CVoiceBoard Init Device CVoiceDevice Init PlayOnPlayComplete RecordThreads Initialization Event Handling Event MechanismHandling Keyboard Input Events Handling SRL EventsHandling Application Exit Events TSUsrEvent StructureDemo Details Demo Details Glossary IP Media Server Global Call Demo Guide November IP Media Server Global Call Demo Guide November IP Media Server Global Call Demo Guide November Symbols IndexIP Media Server Global Call Demo Guide November