#include <faxsend.h>
Inheritance diagram for FaxSend:
Public Member Functions | |
FaxSend (Connection *conn, string file) throw (CapiExternalError) | |
Constructor. Test if we are in fax mode and create an object. | |
void | mainLoop () throw (CapiError,CapiWrongState,CapiExternalError, CapiMsgError) |
Start file send, wait for disconnect and stop the send afterwards. | |
void | transmissionComplete () |
finish main loop if file is completely sent | |
Private Attributes | |
string | file |
file name to send |
This module handles the send of an analog fax (fax group 3). It starts the send 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 given file must be in the format used by Capi, i.e. Structured Fax File (SFF).
|
Constructor. Test if we are in fax mode and create an object.
|
|
Start file send, wait for disconnect and stop the send afterwards.
Reimplemented from CallModule.
|
|
finish main loop if file is completely sent
Reimplemented from CallModule.
|
|
file name to send
|