RTP Audio System  2.0.0
TestReceiver Class Reference

RTCP Receiver. More...

Inheritance diagram for TestReceiver:
Thread Synchronizable

List of all members.

Public Member Functions

 TestReceiver ()
 TestReceiver (RTPAdaptionLayer *server, Socket *receiverSocket)
 ~TestReceiver ()
void init (RTPAdaptionLayer *server, Socket *receiverSocket)

Private Member Functions

void run ()

Private Attributes

SocketReceiverSocket
RTPAdaptionLayerServer
double AverageRTCPSize

Detailed Description

RTCP Receiver.

This class implements an RTCP receiver based on Thread.

Author:
Thomas Dreibholz
Version:
1.0

Constructor & Destructor Documentation

Default constructor. You have to initialize TestReceiver by calling init(...) later!

See also:
init
TestReceiver::TestReceiver ( RTPAdaptionLayer server,
Socket receiverSocket 
)

Constructor for new TestReceiver. The new receiver's thread has to be started by calling start()!

Parameters:
serverRTPAdaptionLayer.
receiverSocketSocket to receive RTCP packets from.

Destructor.


Member Function Documentation

void TestReceiver::init ( RTPAdaptionLayer server,
Socket receiverSocket 
)

Initialize new TestReceiver. The new receiver's thread has to be started by calling start()!

Parameters:
serverRTPAdaptionLayer.
receiverSocketSocket to receive RTCP packets from.
void TestReceiver::run ( ) [private, virtual]

The virtual run() method, which contains the thread's implementation. It has to be implemented by classes, which inherit Thread.

Implements Thread.


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines