SignallingCall Class Reference
Abstract single phone call.
More...
#include <yatesig.h>
List of all members.
Detailed Description
Abstract single phone call.
Interface of protocol independent phone call
Constructor & Destructor Documentation
Constructor
- Parameters:
-
| controller | The call controller owning this call |
| outgoing | Call direction (true for outgoing) |
| signalOnly | Just signalling (no voice) flag |
Destructor, notifies the controller
Member Function Documentation
void clearQueue |
( |
|
) |
[inline, protected] |
Clear incoming messages queue
Retreive the controller of this call
Dequeue a received message. Just return it if remove is false This method is thread safe
- Parameters:
-
| remove | True to remove the message from queue |
- Returns:
- SignallingMessage pointer or 0 if no more messages
Enqueue a received message. This method is thread safe
- Parameters:
-
Event terminated notification. No event will be generated until the current event is terminated This method is thread safe
- Parameters:
-
| event | The terminated event |
bool outgoing |
( |
|
) |
const [inline] |
Send an event to this call
- Parameters:
-
- Returns:
- True if the operation succedded
Reimplemented in SS7ISUPCall, and ISDNQ931Call.
bool signalOnly |
( |
|
) |
const [inline] |
Check if this call is just a signalling (no voice) one
- Returns:
- True if no audio data can be negotiated for this call
void* userdata |
( |
|
) |
const [inline] |
Retreive the private user data of this call
- Returns:
- User data
void userdata |
( |
void * |
data |
) |
[inline] |
Set this call's private user data
- Parameters:
-
Member Data Documentation
Last event generated by this call. Used to serialize events
The documentation for this class was generated from the following file: