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

ConnectModule Class Reference

Call Module for connection establishment at incoming connection. More...

#include <connectmodule.h>

Inheritance diagram for ConnectModule:

CallModule CallInterface List of all members.

Public Member Functions

 ConnectModule (Connection *conn, Connection::service_t service, string faxStationID, string faxHeadline)
 Constructor. Create object.
void mainLoop () throw (CapiWrongState, CapiExternalError, CapiMsgError)
 Accept connection and wait for complete establishment.
void callConnected ()
 Finish mainLoop() if call is completely established.

Private Attributes

Connection::service_t service
 service with which we should connect
string faxStationID
 fax Station ID to use
string faxHeadline
 fax headlint to use

Detailed Description

Call Module for connection establishment at incoming connection.

This module serves to accept an incoming call and wait for the connection establishment. It is the first module you should call when an incoming call is signalled and you want to accept it.

Author:
Gernot Hillier


Constructor & Destructor Documentation

ConnectModule::ConnectModule Connection conn,
Connection::service_t  service,
string  faxStationID,
string  faxHeadline
 

Constructor. Create object.

Parameters:
conn reference to Connection object
service service to connect with as described in Connection::service_t
faxStationID fax station ID, only necessary when connecting in FAXG3 mode
faxHeadline fax headline, only necessary when connecting in FAXG3 mode


Member Function Documentation

void ConnectModule::callConnected  )  [virtual]
 

Finish mainLoop() if call is completely established.

Reimplemented from CallModule.

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

Accept connection and wait for complete establishment.

Exceptions:
CapiWrongState Thrown by CallModule::mainLoop()
CapiExternalError Thrown by Connection::connectWaiting()
CapiMsgError Thrown by Connection::connectWaiting()

Reimplemented from CallModule.


Member Data Documentation

string ConnectModule::faxHeadline [private]
 

fax headlint to use

string ConnectModule::faxStationID [private]
 

fax Station ID to use

Connection::service_t ConnectModule::service [private]
 

service with which we should connect


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