RTP_UserData Class Reference

#include <rtp.h>

Inheritance diagram for RTP_UserData:

H323_RTP_Session H323_RTP_UDP List of all members.

Public Member Functions

virtual void OnTxStatistics (const RTP_Session &session) const
virtual void OnRxStatistics (const RTP_Session &session) const
virtual void OnFinalStatistics (const RTP_Session &session) const

Detailed Description

This class is the base for user data that may be attached to the RTP_session allowing callbacks for statistics and progress monitoring to be passed to an arbitrary object that an RTP consumer may require.

Definition at line 490 of file rtp.h.


Member Function Documentation

void RTP_UserData::OnTxStatistics ( const RTP_Session session  )  const [virtual]

Callback from the RTP session for transmit statistics monitoring. This is called every RTP_Session::txStatisticsInterval packets on the transmitter indicating that the statistics have been updated.

The default behaviour does nothing.

Parameters:
session  Session with statistics

Definition at line 717 of file rtp.cxx.

Referenced by RTP_Session::OnSendData().

void RTP_UserData::OnRxStatistics ( const RTP_Session session  )  const [virtual]

Callback from the RTP session for receive statistics monitoring. This is called every RTP_Session::receiverReportInterval packets on the receiver indicating that the statistics have been updated.

The default behaviour does nothing.

Parameters:
session  Session with statistics

Definition at line 722 of file rtp.cxx.

Referenced by RTP_Session::OnReceiveData().

void RTP_UserData::OnFinalStatistics ( const RTP_Session session  )  const [virtual]

Callback from the RTP session for statistics monitoring. This is called at the end of a call to indicating that the statistics of the call.

The default behaviour does nothing.

Parameters:
session  Session with statistics

Definition at line 726 of file rtp.cxx.

Referenced by RTP_Session::~RTP_Session().


The documentation for this class was generated from the following files:
Generated on Thu Oct 25 13:46:14 2007 for h323plus by  doxygen 1.5.2