#include <switch2faxG3.h>
Inheritance diagram for Switch2FaxG3:
Public Member Functions | |
Switch2FaxG3 (Connection *conn, string faxStationID, string faxHeadline) | |
Constructor. Create object. | |
void | mainLoop () throw (CapiWrongState, CapiExternalError, CapiMsgError) |
Do all needed steps (disconnect logical, wait, switch to fax, wait). | |
void | callDisconnectedLogical () |
Finish first wait if the logical disconnection succeeded. | |
void | callConnected () |
Finish second wait if logical connection has been re-established. | |
Private Attributes | |
string | faxStationID |
fax station ID to use | |
string | faxHeadline |
fax headline to use |
This module does all the necessary steps to switch from another service (mostly VOICE) to FaxG3 service (see Connection::service_t). The steps are:
|
Constructor. Create object.
|
|
Finish second wait if logical connection has been re-established.
Reimplemented from CallModule.
|
|
Finish first wait if the logical disconnection succeeded.
Reimplemented from CallModule.
|
|
Do all needed steps (disconnect logical, wait, switch to fax, wait).
Reimplemented from CallModule.
|
|
fax headline to use
|
|
fax station ID to use
|