5.2.2 Channel Class
The Channel class' main role is to control all resources related to a call. It contains all the resources related to a call and manages all gateway calls and its resources.
The Channel
class attributes are described in Table 7.
Refer to the source code for method information.
Table 7. Channel Class Attributes
|
|
|
|
|
| m_pIPMediaDevice |
public |
IPMediaDevice* |
IPMedia device of the channel |
| m_pdigPSTNDevice |
public |
DigitalPSTNDevice* |
PSTN device of the channel |
| m_pIPP |
public |
IPProtocol* |
Proprietary protocol object to control the calls with the remote gateway |
| m_pLog |
public |
Log* |
The log object of the channel |
| m_channelId |
private |
unsigned int |
The channel identifier |
| m_GWCalls |
private |
GWCALL_LIST (an STL list of GWCall*) |
List of the calls initiated on the channel |
| m_inService |
private |
bool |
Indicates if the channel is in or out of service |