Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

Switch2FaxG3 Class Reference

Call Module for switching to FAXG3 service from another one. More...

#include <switch2faxG3.h>

Inheritance diagram for Switch2FaxG3:

CallModule CallInterface List of all members.

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

Detailed Description

Call Module for switching to FAXG3 service from another one.

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 & Destructor Documentation

Switch2FaxG3::Switch2FaxG3 Connection conn,
string  faxStationID,
string  faxHeadline
 

Constructor. Create object.

Parameters:
conn reference to Connection object
faxStationID fax station ID to use
faxHeadline fax headline to use


Member Function Documentation

void Switch2FaxG3::callConnected  )  [virtual]
 

Finish second wait if logical connection has been re-established.

Reimplemented from CallModule.

void Switch2FaxG3::callDisconnectedLogical  )  [virtual]
 

Finish first wait if the logical disconnection succeeded.

Reimplemented from CallModule.

void Switch2FaxG3::mainLoop  )  throw (CapiWrongState, CapiExternalError, CapiMsgError) [virtual]
 

Do all needed steps (disconnect logical, wait, switch to fax, wait).

Exceptions:
CapiWrongState Thrown by CallModule::mainLoop, Connection::changeProtocol
CapiExternalError Thrown by Connection::changeProtocol
CapiMsgError Thrown by Connection::changeProtocol, Connection::disconnectCall

Reimplemented from CallModule.


Member Data Documentation

string Switch2FaxG3::faxHeadline [private]
 

fax headline to use

string Switch2FaxG3::faxStationID [private]
 

fax station ID to use


The documentation for this class was generated from the following files:
Generated on Sun Nov 28 14:37:45 2004 for CapiSuite by doxygen 1.3.8