#include <faxreceive.h>
Inheritance diagram for FaxReceive:
Public Member Functions | |
FaxReceive (Connection *conn, string file) throw (CapiExternalError) | |
Constructor. Test if we are in fax mode and create an object. | |
void | mainLoop () throw (CapiWrongState, CapiExternalError) |
Start file reception, wait for disconnect and stop the reception afterwards. | |
void | transmissionComplete () |
finish main loop if file is completely received | |
Private Attributes | |
string | file |
file name to save file to |
This module handles the reception of an analog fax (fax group 3). It starts the reception and waits for the end of the connection.
Fax polling isn't supported yet.
Fax mode must have been established before using this (by connecting in fax mode or switching to fax with Switch2FaxG3), otherwise an exception is caused.
The created file will be saved in the format received by Capi, i.e. as Structured Fax File (SFF).
|
Constructor. Test if we are in fax mode and create an object.
|
|
Start file reception, wait for disconnect and stop the reception afterwards.
Reimplemented from CallModule.
|
|
finish main loop if file is completely received
Reimplemented from CallModule.
|
|
file name to save file to
|