Intel 05-2065-002 manual Device CIPDevice Init, Connect, Disconnect, GetXmitSlot, SetFaxHandle

Page 34

Demo Details

Table 6. IP Module Classes (Continued)

Category

 

Class Name

 

Interface

 

 

 

Device

CIPDevice

Init( )

 

Handles IP device operations, such as

Opens an IP device. If successful,

 

 

making/dropping calls, sending H.323

 

creates an IP state machine. If QoS is

 

 

messages, making timeslot connections,

 

enabled, creates a media alarm object.

 

 

etc.

 

 

 

 

Exit( )

 

Holds CIPStateMachine (or call control)

 

Deletes IP state machine

 

Note: The public functions in this class

 

Deletes media alarm object

 

 

should only be accessed by classes

 

 

Closes IP devices

 

 

inside the IP module.

 

 

 

 

 

 

 

ProcessEvent( )

 

 

 

Processes IP device events

 

 

 

 

 

 

 

Connect( )

 

 

 

Allows IP device to listen to its receiving

 

 

 

 

timeslot

 

 

 

 

 

 

 

Disconnect( )

 

 

 

Allows IP device to unlisten to its

 

 

 

 

receiving timeslot

 

 

 

 

 

 

 

GetDeviceHandle( )

 

 

 

Returns IP device handle

 

 

 

 

 

 

 

GetXmitSlot( )

 

 

 

Returns IP device transmit timeslot

 

 

 

 

 

 

 

SetDeviceReceiveSlot( )

 

 

 

Sets IP device receiving timeslot

 

 

 

 

 

 

 

SetFaxHandle( )

 

 

 

Sets fax device handle associated with

 

 

 

 

the device

 

 

 

 

 

 

 

GetFaxHandle( )

 

 

 

Returns fax device handle associated

 

 

 

 

with the device

 

 

 

State Machine

CIPStateMachine

Init( )

 

Handles IP events and maintains IP state

Initializes the IP state machine

 

 

machine(s)

 

 

 

 

Exit( )

 

Note: The public functions in this class

 

Terminates the IP state machine

 

 

should only be accessed by the

 

 

 

 

 

 

classes inside the IP module.

ProcessEvent( )

 

 

 

Processes IP call events

 

 

 

 

 

34

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

Image 34
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 Purpose How to Use This PublicationAbout This Publication Intended AudienceRelated Information About This PublicationDemo1 Description Demo Description Hardware Requirements System2 RequirementsSoftware Requirements System Requirements Preparing To Run the Demo Editing Configuration FilesEditing the IPMediaServer.cfg Configuration File File LocationSample Configuration File Compiling and Linking Preparing to Run the Demo Starting the Demo Command Line SwitchesRunning4 Demo Demo OptionsUsing the Media Server Using the DemoKeyboard Commands Runtime Keyboard CommandsConfirm Message Saved StopRecMenu Demo Voice Menu Flowchart Stopping the Demo Running the Demo Demo Source Code Files Demo5 DetailsFiles Used by the Demo 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 Disconnect Device CIPDevice InitConnect GetXmitSlotModule CVoiceModule Init Voice Module ClassesBoard CVoiceBoard Init OnPlayComplete Device CVoiceDevice InitPlay RecordThreads Initialization Event Handling Event MechanismHandling Application Exit Events Handling Keyboard Input EventsHandling SRL 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