Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ACE_QoS_Event_Handler Class Reference

This Handler is registered with the Reactor for QoS events. More...

#include <QoS_Decorator.h>

Inheritance diagram for ACE_QoS_Event_Handler:

Inheritance graph
[legend]
Collaboration diagram for ACE_QoS_Event_Handler:

Collaboration graph
[legend]
List of all members.

Private Methods

 ~ACE_QoS_Event_Handler (void)
 Destructor. More...

virtual ACE_HANDLE get_handle (void) const
 Returns the RAPI file descriptor for receiving QoS events. More...

virtual int handle_input (ACE_HANDLE fd)
 Calls the base class handle_input (). More...

void qos_session (ACE_QoS_Session *qos_session)
 Sets the QoS session. More...

 ACE_QoS_Event_Handler (void)
 Constructor is private because only ACE_QoS_Decorator should create this object. More...

 ACE_QoS_Event_Handler (ACE_QoS_Decorator_Base *decorator_base)
 The QoS Decorator passes in its base for this handler to use. More...


Private Attributes

ACE_QoS_Sessionqos_session_
 Used to get to the RAPI file descriptor for QoS Events. More...

ACE_QoS_Decorator_Basedecorator_base_
 Requests on the class are forwarded to this base class;. More...


Friends

class ACE_QoS_Decorator

Detailed Description

This Handler is registered with the Reactor for QoS events.

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.


Constructor & Destructor Documentation

ACE_QoS_Event_Handler::~ACE_QoS_Event_Handler void    [private]
 

Destructor.

Definition at line 131 of file QoS_Decorator.cpp.

00132 {
00133 }

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 119 of file QoS_Decorator.cpp.

00120 {
00121 }

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 124 of file QoS_Decorator.cpp.

00126   : decorator_base_ (decorator_base)
00127 {
00128 }


Member Function Documentation

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 144 of file QoS_Decorator.cpp.

References qos_session_, and ACE_QoS_Session::rsvp_events_handle.

00145 {
00146   return this->qos_session_->rsvp_events_handle ();
00147 }

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 158 of file QoS_Decorator.cpp.

References decorator_base_, and ACE_QoS_Decorator_Base::handle_qos.

00159 {
00160   return this->decorator_base_->handle_qos (fd);
00161 }

void ACE_QoS_Event_Handler::qos_session ACE_QoS_Session   qos_session [private]
 

Sets the QoS session.

Definition at line 137 of file QoS_Decorator.cpp.

References qos_session_.

Referenced by ACE_QoS_Decorator::init.

00138 {
00139   this->qos_session_ = qos_session;
00140 }


Friends And Related Function Documentation

friend class ACE_QoS_Decorator [friend]
 

Definition at line 99 of file QoS_Decorator.h.


Member Data Documentation

ACE_QoS_Decorator_Base* ACE_QoS_Event_Handler::decorator_base_ [private]
 

Requests on the class are forwarded to this base class;.

Definition at line 114 of file QoS_Decorator.h.

Referenced by handle_input.

ACE_QoS_Session* ACE_QoS_Event_Handler::qos_session_ [private]
 

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.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 13:17:45 2003 for ACE_QoS by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002