ACE_QoS
6.1.6
|
Concrete QoS Decorator. More...
#include <QoS_Decorator.h>
Public Member Functions | |
ACE_QoS_Decorator (void) | |
Constructor. | |
ACE_QoS_Decorator (ACE_Event_Handler *event_handler, ACE_QoS_Session *qos_session, ACE_Reactor *reactor=ACE_Reactor::instance()) | |
Constructor. | |
~ACE_QoS_Decorator (void) | |
Destructor. | |
virtual ACE_HANDLE | get_handle (void) const |
Calls the base class get_handle (). | |
virtual int | handle_input (ACE_HANDLE fd) |
Calls the base class handle_input (). | |
virtual int | handle_qos (ACE_HANDLE fd) |
Calls the base class handle_qos (). | |
int | init (void) |
![]() | |
ACE_QoS_Decorator_Base (void) | |
Constructor. | |
ACE_QoS_Decorator_Base (ACE_Event_Handler *event_handler) | |
Constructor. | |
~ACE_QoS_Decorator_Base (void) | |
Destructor. | |
![]() | |
virtual | ~ACE_Event_Handler (void) |
virtual void | set_handle (ACE_HANDLE) |
virtual int | priority (void) const |
virtual void | priority (int priority) |
virtual int | handle_output (ACE_HANDLE fd=ACE_INVALID_HANDLE) |
virtual int | handle_exception (ACE_HANDLE fd=ACE_INVALID_HANDLE) |
virtual int | handle_timeout (const ACE_Time_Value ¤t_time, const void *act=0) |
virtual int | handle_exit (ACE_Process *) |
virtual int | handle_close (ACE_HANDLE handle, ACE_Reactor_Mask close_mask) |
virtual int | handle_signal (int signum, siginfo_t *=0, ucontext_t *=0) |
virtual int | resume_handler (void) |
virtual int | handle_group_qos (ACE_HANDLE=ACE_INVALID_HANDLE) |
virtual void | reactor (ACE_Reactor *reactor) |
virtual ACE_Reactor * | reactor (void) const |
virtual ACE_Reactor_Timer_Interface * | reactor_timer_interface (void) const |
virtual Reference_Count | add_reference (void) |
virtual Reference_Count | remove_reference (void) |
Reference_Counting_Policy & | reference_counting_policy (void) |
Private Attributes | |
ACE_QoS_Decorator_Base * | decorator_base_ |
Requests on the class are forwarded to this base class;. | |
ACE_QoS_Event_Handler * | qos_event_handler_ |
ACE_QoS_Session * | qos_session_ |
ACE_Reactor * | reactor_ |
Concrete QoS Decorator.
Decorates the ACE_Event_Handler to additionally handle QoS events uniformly for different QoS mechanisms like RAPI and GQoS.
ACE_QoS_Decorator::ACE_QoS_Decorator | ( | void | ) |
Constructor.
ACE_QoS_Decorator::ACE_QoS_Decorator | ( | ACE_Event_Handler * | event_handler, |
ACE_QoS_Session * | qos_session, | ||
ACE_Reactor * | reactor = ACE_Reactor::instance () |
||
) |
Constructor.
ACE_QoS_Decorator::~ACE_QoS_Decorator | ( | void | ) |
Destructor.
|
virtual |
Calls the base class get_handle ().
Reimplemented from ACE_QoS_Decorator_Base.
|
virtual |
Calls the base class handle_input ().
Reimplemented from ACE_QoS_Decorator_Base.
|
virtual |
Calls the base class handle_qos ().
Reimplemented from ACE_QoS_Decorator_Base.
int ACE_QoS_Decorator::init | ( | void | ) |
This method registers the QoS Event Handler with the Reactor to receive RAPI events.
|
private |
Requests on the class are forwarded to this base class;.
|
private |
Handles the QoS events and in that sense decorates the usual ACE_Event_Handler.
|
private |
Passed to the ACE_QoS_Event_Handler for retrieving the RAPI session specific information like rapi_fd.
|
private |
If the application wants to use an instance of Reactor other than the Singleton one.
Reimplemented from ACE_Event_Handler.