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 |