#include <QoS_Decorator.h>
Inheritance diagram for ACE_QoS_Event_Handler:
Private Member Functions | |
~ACE_QoS_Event_Handler (void) | |
Destructor. | |
virtual ACE_HANDLE | get_handle (void) const |
Returns the RAPI file descriptor for receiving QoS events. | |
virtual int | handle_input (ACE_HANDLE fd) |
Calls the base class handle_input (). | |
void | qos_session (ACE_QoS_Session *qos_session) |
Sets the QoS session. | |
ACE_QoS_Event_Handler (void) | |
ACE_QoS_Event_Handler (ACE_QoS_Decorator_Base *decorator_base) | |
The QoS Decorator passes in its base for this handler to use. | |
Private Attributes | |
ACE_QoS_Session * | qos_session_ |
Used to get to the RAPI file descriptor for QoS Events. | |
ACE_QoS_Decorator_Base * | decorator_base_ |
Requests on the class are forwarded to this base class;. | |
Friends | |
class | ACE_QoS_Decorator |
Concrete QoS decorator uses this class to receive QoS events for RAPI. It hides the application from knowing that it is receiving QoS events on a different socket so the application doesnt have to be designed differently for RAPI and GQoS.
Definition at line 84 of file QoS_Decorator.h.
ACE_QoS_Event_Handler::~ACE_QoS_Event_Handler | ( | void | ) | [private] |
ACE_QoS_Event_Handler::ACE_QoS_Event_Handler | ( | void | ) | [private] |
Constructor is private because only ACE_QoS_Decorator should create this object.
Definition at line 121 of file QoS_Decorator.cpp.
ACE_QoS_Event_Handler::ACE_QoS_Event_Handler | ( | ACE_QoS_Decorator_Base * | decorator_base | ) | [private] |
The QoS Decorator passes in its base for this handler to use.
Definition at line 126 of file QoS_Decorator.cpp.
00128 : decorator_base_ (decorator_base) 00129 { 00130 }
ACE_HANDLE ACE_QoS_Event_Handler::get_handle | ( | void | ) | const [private, virtual] |
Returns the RAPI file descriptor for receiving QoS events.
Reimplemented from ACE_Event_Handler.
Definition at line 146 of file QoS_Decorator.cpp.
References qos_session_, and ACE_QoS_Session::rsvp_events_handle().
00147 { 00148 return this->qos_session_->rsvp_events_handle (); 00149 }
int ACE_QoS_Event_Handler::handle_input | ( | ACE_HANDLE | fd | ) | [private, virtual] |
Calls the base class handle_input ().
Reimplemented from ACE_Event_Handler.
Definition at line 160 of file QoS_Decorator.cpp.
References decorator_base_, and ACE_QoS_Decorator_Base::handle_qos().
00161 { 00162 return this->decorator_base_->handle_qos (fd); 00163 }
void ACE_QoS_Event_Handler::qos_session | ( | ACE_QoS_Session * | qos_session | ) | [private] |
Sets the QoS session.
Definition at line 139 of file QoS_Decorator.cpp.
References qos_session_.
Referenced by ACE_QoS_Decorator::init().
00140 { 00141 this->qos_session_ = qos_session; 00142 }
friend class ACE_QoS_Decorator [friend] |
Definition at line 99 of file QoS_Decorator.h.
Requests on the class are forwarded to this base class;.
Definition at line 114 of file QoS_Decorator.h.
Referenced by handle_input().
Used to get to the RAPI file descriptor for QoS Events.
Definition at line 111 of file QoS_Decorator.h.
Referenced by get_handle(), and qos_session().