RTP Trace System
1.0
|
Public Member Functions | |
SenderThread (TrafficShaper *socket, const card64 bandwidth, const cardinal packetSize=1024, const cardinal framesPerSecond=75) | |
card64 | getBytesSent () |
void | timerEvent () |
Public Attributes | |
TrafficShaper * | SenderSocket |
card64 | Bandwidth |
card64 | Sent |
cardinal | BytesPerInterval |
cardinal | PacketSize |
cardinal | FramesPerSecond |
card16 | SeqNum |
SenderThread::SenderThread | ( | TrafficShaper * | socket, |
const card64 | bandwidth, | ||
const cardinal | packetSize = 1024 , |
||
const cardinal | framesPerSecond = 75 |
||
) |
card64 SenderThread::getBytesSent | ( | ) | [inline] |
void SenderThread::timerEvent | ( | ) | [virtual] |
The virtual timerEvent() method, which contains the timed thread's implementation. It has to be implemented by classes, which inherit TimedThread. This method is called regularly with the given interval.
Implements Coral::TimedThread.