RTP Trace System
1.0
|
Trace Server. More...
#include <traceserver.h>
Coral::TraceServer::TraceServer | ( | BandwidthManager * | bwManager, |
const cardinal | maxPacketSize = 1500 |
||
) |
Constructor for new TraceServer.
bwManager | BandwidthManager object. |
maxPacketSize | Maximum packet size. |
Destructor.
void Coral::TraceServer::appMessage | ( | const Client * | client, |
const char * | name, | ||
const void * | data, | ||
const cardinal | dataLength | ||
) | [virtual] |
appMessage() implementation of RTCPAbstractServer.
Implements Coral::RTCPAbstractServer.
bool Coral::TraceServer::checkClient | ( | const Client * | client | ) | [virtual] |
checkClient() implementation of RTCPAbstractServer.
Implements Coral::RTCPAbstractServer.
void Coral::TraceServer::deleteClient | ( | Client * | client, |
const DeleteReason | reason | ||
) | [virtual] |
deleteClient() implementation of RTCPAbstractServer.
Implements Coral::RTCPAbstractServer.
bool Coral::TraceServer::getLossScalability | ( | ) | const [inline] |
Get loss scalibility setting.
cardinal Coral::TraceServer::getMaxPacketSize | ( | ) | const [inline] |
Get maximum packet size.
card32 Coral::TraceServer::getOurSSRC | ( | ) | const |
Get client SSRC.
void Coral::TraceServer::managementUpdate | ( | const Client * | client, |
User * | user | ||
) |
Update QoS/congestion management.
client | Client to do congestion for. |
user | User data. |
void * Coral::TraceServer::newClient | ( | Client * | client, |
const char * | cname | ||
) | [virtual] |
newClient() implementation of RTCPAbstractServer.
Implements Coral::RTCPAbstractServer.
void Coral::TraceServer::outOfMemoryWarning | ( | ) | [virtual] |
outOfMemoryWarning() implementation of RTCPAbstractServer.
Reimplemented from Coral::RTCPAbstractServer.
void Coral::TraceServer::receiverReport | ( | const Client * | client, |
const RTCPReceptionReportBlock * | report, | ||
const cardinal | layer | ||
) | [virtual] |
receiverReport() implementation of RTCPAbstractServer.
Implements Coral::RTCPAbstractServer.
void Coral::TraceServer::sdesMessage | ( | const Client * | client, |
const card8 | type, | ||
const char * | data, | ||
const cardinal | length | ||
) | [virtual] |
sdesMessage() implementation of RTCPAbstractServer.
Implements Coral::RTCPAbstractServer.
void Coral::TraceServer::setLossScalability | ( | const bool | on | ) | [inline] |
Set loss scalibility setting.
on | true, if to set loss scalability on; false otherwise. |
cardinal Coral::TraceServer::setMaxPacketSize | ( | const cardinal | size | ) | [inline] |
Set maximum packet size.
size | Maximum packet size. |
void Coral::TraceServer::userCommand | ( | const Client * | client, |
User * | user, | ||
const TraceClientAppPacket * | app | ||
) |
Execute commands given in TraceClientAppPacket.
client | Client. |
user | User. |
app | TraceClientApp message. |
BandwidthManager* Coral::TraceServer::BandwidthMgr [private] |
bool Coral::TraceServer::LossScalability [private] |
cardinal Coral::TraceServer::MaxPacketSize [private] |
card32 Coral::TraceServer::OurSSRC [private] |
multimap<const cardinal,User*> Coral::TraceServer::UserSet [private] |