Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

TAO_Notify_Handler Class Reference

Represents the handler used by the notify calls to the reactor within the ORB. More...

#include <Notify_Handler.h>

Inheritance diagram for TAO_Notify_Handler:

Inheritance graph
[legend]
Collaboration diagram for TAO_Notify_Handler:

Collaboration graph
[legend]
List of all members.

Public Methods

 ~TAO_Notify_Handler (void)
 Dtor.

virtual int handle_input (ACE_HANDLE fd)
virtual int handle_close (ACE_HANDLE fd, ACE_Reactor_Mask close_mask)

Static Public Methods

TAO_Notify_Handler * create_handler (TAO_Connection_Handler *ch, ACE_Allocator *alloc)
TAO_Notify_Handler * create_handler (TAO_Transport *t, ACE_HANDLE h, ACE_Allocator *alloc)
void destroy_handler (TAO_Notify_Handler *nh)
 Static method to destroy an instance of this object.


Protected Methods

 TAO_Notify_Handler (TAO_Connection_Handler *ch, ACE_Allocator *alloc)
 NOTE: Needs to be deprecated.

 TAO_Notify_Handler (TAO_Transport *t, ACE_HANDLE h, ACE_Allocator *alloc)
 Ctor.


Private Methods

 TAO_Notify_Handler (void)
 Preventing default ctor's.


Private Attributes

TAO_Transportt_
ACE_HANDLE h_
 The handle that we should be concerened with.

ACE_Allocatorallocator_
 Our allocator.


Detailed Description

Represents the handler used by the notify calls to the reactor within the ORB.

Cluttering the *IOP handlers with the job of handling notify calls introduces problems as mentioned in [BUG 1230]. This special handler can help to avoid that problem by splitting the responsibilities between actual connection handling and notify handling that is done underneath the ORB.


Constructor & Destructor Documentation

TAO_Notify_Handler::~TAO_Notify_Handler void   
 

Dtor.

TAO_Notify_Handler::TAO_Notify_Handler TAO_Connection_Handler   ch,
ACE_Allocator   alloc
[protected]
 

NOTE: Needs to be deprecated.

TAO_Notify_Handler::TAO_Notify_Handler TAO_Transport   t,
ACE_HANDLE    h,
ACE_Allocator   alloc
[protected]
 

Ctor.

TAO_Notify_Handler::TAO_Notify_Handler void    [private]
 

Preventing default ctor's.


Member Function Documentation

TAO_Notify_Handler * TAO_Notify_Handler::create_handler TAO_Transport   t,
ACE_HANDLE    h,
ACE_Allocator   alloc
[static]
 

Static method to create an instance of this object in the memory pool

TAO_Notify_Handler * TAO_Notify_Handler::create_handler TAO_Connection_Handler   ch,
ACE_Allocator   alloc
[static]
 

NOTE: Needs to be deprecated. Just here for backward compatibility

void TAO_Notify_Handler::destroy_handler TAO_Notify_Handler *    nh [static]
 

Static method to destroy an instance of this object.

int TAO_Notify_Handler::handle_close ACE_HANDLE    fd,
ACE_Reactor_Mask    close_mask
[virtual]
 

Reimplemented from ACE_Event_Handler.

int TAO_Notify_Handler::handle_input ACE_HANDLE    fd [virtual]
 

The standard handle_input method, it just redirects to the connection handler

Reimplemented from ACE_Event_Handler.


Member Data Documentation

ACE_Allocator* TAO_Notify_Handler::allocator_ [private]
 

Our allocator.

ACE_HANDLE TAO_Notify_Handler::h_ [private]
 

The handle that we should be concerened with.

TAO_Transport* TAO_Notify_Handler::t_ [private]
 

Our copy of the TAO_TRansport, reference count incremented and stored.


The documentation for this class was generated from the following files:
Generated on Wed Feb 19 15:19:56 2003 for TAO by doxygen1.2.18