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

ACE_RMCast_Fork Class Reference

Fork messages to multiple destinations. More...

#include <RMCast_Fork.h>

Inheritance diagram for ACE_RMCast_Fork

Inheritance graph
[legend]
Collaboration diagram for ACE_RMCast_Fork:

Collaboration graph
[legend]
List of all members.

Public Methods

 ACE_RMCast_Fork (void)
 Constructor.

virtual ~ACE_RMCast_Fork (void)
 Destructor.

void secondary (ACE_RMCast_Module *module)
 Set the control module, all incoming control messages go to it.

ACE_RMCast_Modulesecondary (void) const
 Return the current control module.

virtual int open (void)
 Initialize the module, setting up the next module.

virtual int close (void)
 Close the module.

virtual int data (ACE_RMCast::Data &)
 Push data through the stack.

virtual int poll (ACE_RMCast::Poll &)
 Push a polling request through the stack.

virtual int ack_join (ACE_RMCast::Ack_Join &)
 Push a message to ack a join request through the stack.

virtual int ack_leave (ACE_RMCast::Ack_Leave &)
 Push a message to ack a leave request through the stack.

virtual int ack (ACE_RMCast::Ack &)
 Push an ack mesage through the stack.

virtual int join (ACE_RMCast::Join &)
 Push a join message through the stack.

virtual int leave (ACE_RMCast::Leave &)
 Push a leave message through the stack.


Private Attributes

ACE_RMCast_Modulesecondary_
 The control module.


Detailed Description

Fork messages to multiple destinations.

In some instances the messages must be sent to multiple destinations, this module is a generic component to duplicate such messages.


Constructor & Destructor Documentation

ACE_INLINE ACE_RMCast_Fork::ACE_RMCast_Fork ( void )
 

Constructor.

ACE_RMCast_Fork::~ACE_RMCast_Fork ( void ) [virtual]
 

Destructor.


Member Function Documentation

int ACE_RMCast_Fork::ack ( ACE_RMCast::Ack & ack ) [virtual]
 

Push an ack mesage through the stack.

Reimplemented from ACE_RMCast_Module.

int ACE_RMCast_Fork::ack_join ( ACE_RMCast::Ack_Join & ack_join ) [virtual]
 

Push a message to ack a join request through the stack.

Reimplemented from ACE_RMCast_Module.

int ACE_RMCast_Fork::ack_leave ( ACE_RMCast::Ack_Leave & ack_leave ) [virtual]
 

Push a message to ack a leave request through the stack.

Reimplemented from ACE_RMCast_Module.

int ACE_RMCast_Fork::close ( void ) [virtual]
 

Close the module.

Reimplemented from ACE_RMCast_Module.

int ACE_RMCast_Fork::data ( ACE_RMCast::Data & data ) [virtual]
 

Push data through the stack.

Reimplemented from ACE_RMCast_Module.

int ACE_RMCast_Fork::join ( ACE_RMCast::Join & join ) [virtual]
 

Push a join message through the stack.

Reimplemented from ACE_RMCast_Module.

int ACE_RMCast_Fork::leave ( ACE_RMCast::Leave & leave ) [virtual]
 

Push a leave message through the stack.

Reimplemented from ACE_RMCast_Module.

int ACE_RMCast_Fork::open ( void ) [virtual]
 

Initialize the module, setting up the next module.

Reimplemented from ACE_RMCast_Module.

int ACE_RMCast_Fork::poll ( ACE_RMCast::Poll & poll ) [virtual]
 

Push a polling request through the stack.

Reimplemented from ACE_RMCast_Module.

ACE_INLINE ACE_RMCast_Module * ACE_RMCast_Fork::secondary ( void ) const
 

Return the current control module.

ACE_INLINE void ACE_RMCast_Fork::secondary ( ACE_RMCast_Module * module )
 

Set the control module, all incoming control messages go to it.


Member Data Documentation

ACE_RMCast_Module * ACE_RMCast_Fork::secondary_ [private]
 

The control module.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 10:46:00 2001 for ACE_RMCast by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000