#include <QoS_UDP.h>
Public Member Functions | |
TAO_AV_UDP_QoS_Session_Helper (void) | |
~TAO_AV_UDP_QoS_Session_Helper (void) | |
ACE_QoS_Session * | open_qos_session (TAO_AV_UDP_QoS_Flow_Handler *handler, ACE_INET_Addr &addr) |
Open a QoS Session with the specified address. | |
int | activate_qos_handler (ACE_QoS_Session *qos_session, TAO_AV_UDP_QoS_Flow_Handler *handler) |
Activate the QoS handler to receive QoS events. | |
int | set_qos (ACE_Flow_Spec &ace_flow_spec, TAO_AV_UDP_QoS_Flow_Handler *handler) |
Set the required QoS for the session. |
Helper class to create qos sessions, activate qos handlers and set qos (For separation of concerns)
TAO_AV_UDP_QoS_Session_Helper::TAO_AV_UDP_QoS_Session_Helper | ( | void | ) |
TAO_AV_UDP_QoS_Session_Helper::~TAO_AV_UDP_QoS_Session_Helper | ( | void | ) |
int TAO_AV_UDP_QoS_Session_Helper::activate_qos_handler | ( | ACE_QoS_Session * | qos_session, | |
TAO_AV_UDP_QoS_Flow_Handler * | handler | |||
) |
Activate the QoS handler to receive QoS events.
ACE_QoS_Session* TAO_AV_UDP_QoS_Session_Helper::open_qos_session | ( | TAO_AV_UDP_QoS_Flow_Handler * | handler, | |
ACE_INET_Addr & | addr | |||
) |
Open a QoS Session with the specified address.
int TAO_AV_UDP_QoS_Session_Helper::set_qos | ( | ACE_Flow_Spec & | ace_flow_spec, | |
TAO_AV_UDP_QoS_Flow_Handler * | handler | |||
) |
Set the required QoS for the session.