Private Member Functions | Private Attributes | Friends

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 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_Sessionqos_session_
 Used to get to the RAPI file descriptor for QoS Events.
ACE_QoS_Decorator_Basedecorator_base_
 Requests on the class are forwarded to this base class;.

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

{
}

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.

  : decorator_base_ (decorator_base)
{
}


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

{
  return this->qos_session_->rsvp_events_handle ();
}

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.

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

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.

{
  this->qos_session_ = qos_session;
}


Friends And Related Function Documentation

friend class ACE_QoS_Decorator [friend]

Definition at line 99 of file QoS_Decorator.h.


Member Data Documentation

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

Definition at line 114 of file QoS_Decorator.h.

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

Definition at line 111 of file QoS_Decorator.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines