#include <yatephone.h>
Inheritance diagram for DataEndpoint:
Public Member Functions | |
DataEndpoint (CallEndpoint *call=0, const char *name="audio") | |
~DataEndpoint () | |
virtual void * | getObject (const String &name) const |
virtual const String & | toString () const |
Mutex * | mutex () const |
bool | connect (DataEndpoint *peer) |
bool | disconnect () |
void | setSource (DataSource *source=0) |
DataSource * | getSource () const |
void | setConsumer (DataConsumer *consumer=0) |
DataConsumer * | getConsumer () const |
void | setPeerRecord (DataConsumer *consumer=0) |
DataConsumer * | getPeerRecord () const |
void | setCallRecord (DataConsumer *consumer=0) |
DataConsumer * | getCallRecord () const |
bool | addSniffer (DataConsumer *sniffer) |
bool | delSniffer (DataConsumer *sniffer) |
DataConsumer * | getSniffer (const String &name) |
void | clearSniffers () |
DataEndpoint * | getPeer () const |
CallEndpoint * | getCall () const |
const String & | name () const |
Static Public Member Functions | |
static Mutex & | commonMutex () |
Protected Member Functions | |
virtual bool | nativeConnect (DataEndpoint *peer) |
The DataEndpoint holds an endpoint capable of performing unidirectional or bidirectional data transfers
|
Creates an empty data endpoint |
|
Destroys the endpoint, source and consumer |
|
Adds a data consumer to the list of sniffers of the local call data
|
|
Removes all sniffers from the list and dereferences them |
|
Get the big mutex that serializes access to all data endpoints
|
|
Connect the source and consumer of the endpoint to a peer
|
|
Remove a data consumer from the list of sniffers of the local call data
|
|
Disconnect from the connected endpoint
|
|
Get a pointer to the owner call
|
|
Get the data consumer used for recording local call generated data.
|
|
Get the data consumer of this object
|
|
Get a pointer to a derived class given that class name
Reimplemented from GenObject. |
|
Get a pointer to the peer endpoint
|
|
Get the data consumer used for recording peer generated data.
|
|
Find a sniffer by name
|
|
Get the data source of this object
|
|
Get the mutex that serializes access to this data endpoint, if any
|
|
Get the name set in constructor
|
|
Attempt to connect the endpoint to a peer of the same type
|
|
Set the data consumer for recording local call generated data This will be connected to the local data source.
|
|
Set the data consumer of this object
|
|
Set the data consumer for recording peer generated data. This will be connected to the peer data source.
|
|
Set the data source of this object
|
|
Get a string identification of the endpoint
Reimplemented from GenObject. |