Intel IP Media Server User Manual

Page 38

Advertising
background image

38

IP Media Server for HMP Demo Guide — July 2005

Demo Details

Board

CFaxBoard

• Interacts with the fax library to handle fax

boards

• The public function in this class should

only be accessed by classes inside the
Fax module

Init( )

• Open fax board.

Exit( )

• Close fax board.

ProcessEvent( )

• Processes fax board events.

Device

CFaxDevice

• Handles fax device operations, such as

sending fax, receiving fax, etc.

• Holds CFaxStateMachine

Note: The public functions in this class

should only be accessed by classes
inside the Fax module.

Init( )

• Opens the fax device. If successful,

creates fax state machine.

Exit( )

• Deletes the fax state machine from the

fax device

• Closes fax device

SetIott( )

• Sets up iott for the fax file

SetFaxState( )

• Sets initial fax state before fax

transmission

SendFax( )

• Starts to send a fax file

RecvFax( )

• Starts to receive a fax file

OpenFaxFile( )

• Gets fax file handle

CloseFaxFile( )

• Closes fax file handle

GetDeviceHandle( )

• Returns fax device handle

ToLower_String( )

• Converts a string from uppercase to

lowercase

SetFaxFileName( )

• Names the fax file to be sent or received

GetFaxFileName( )

• Returns the name of the fax file

SetNeighborHandle( )

• Sets IP device handle that is currently

connected with the fax device

GetNeighborHandle( )

• Gets IP device handle that is currently

connected with the fax device

GetFaxStateMachineObject( )

• Returns fax state machine object

Table 9. Fax Module Classes (Continued)

Category

Class Name

Interface

Advertising