#include <yatephone.h>
Inheritance diagram for CallEndpoint:
Public Member Functions | |
virtual | ~CallEndpoint () |
virtual void * | getObject (const String &name) const |
virtual const String & | toString () const |
const String & | id () const |
CallEndpoint * | getPeer () const |
const String & | getPeerId () const |
Mutex * | mutex () const |
bool | connect (CallEndpoint *peer, const char *reason=0, bool notify=true) |
bool | disconnect (const char *reason=0, bool notify=true) |
DataEndpoint * | getEndpoint (const char *type="audio") const |
DataEndpoint * | setEndpoint (const char *type="audio") |
void | clearEndpoint (const char *type=0) |
void | setSource (DataSource *source=0, const char *type="audio") |
DataSource * | getSource (const char *type="audio") const |
void | setConsumer (DataConsumer *consumer=0, const char *type="audio") |
DataConsumer * | getConsumer (const char *type="audio") const |
Static Public Member Functions | |
static Mutex & | commonMutex () |
Protected Member Functions | |
CallEndpoint (const char *id=0) | |
virtual void | connected (const char *reason) |
virtual void | disconnected (bool final, const char *reason) |
void | setPeer (CallEndpoint *peer, const char *reason=0, bool notify=true) |
virtual void | setId (const char *newId) |
Protected Attributes | |
ObjList | m_data |
Mutex * | m_mutex |
Friends | |
class | DataEndpoint |
A class that holds common call control and data related features
|
Destructor |
|
Constructor |
|
Clear one or all data endpoints of this object
|
|
Get the big mutex that serializes access to all call endpoints
|
|
Connect the call endpoint to a peer.
|
|
Connect notification method.
Reimplemented in Channel. |
|
Disconnect from the connected peer call endpoint.
|
|
Disconnect notification method.
Reimplemented in Channel. |
|
Get the data consumer of this object
|
|
Get a data endpoint of this object
|
|
Get a pointer to a derived class given that class name
Reimplemented from GenObject. Reimplemented in Channel. |
|
Get the connected peer call
|
|
Get the connected peer call id
|
|
Get a data source of this object
|
|
Get the unique channel identifier
|
|
Get the mutex that serializes access to this call endpoint, if any
|
|
Set the data consumer of this object
|
|
Get a data endpoint of this object, create if required
|
|
Set a new ID for this call endpoint
Reimplemented in Channel. |
|
Set the peer call endpoint pointer.
|
|
Set a data source of this object
|
|
Get a string representation of this channel
Reimplemented from GenObject. |