#include <RMCast_Receiver_Module.h>
Inheritance diagram for ACE_RMCast_Receiver_Module:
Public Types | |
enum | Receiver_State { RS_NON_EXISTENT, RS_JOINING, RS_JOINED, RS_LEAVING } |
Simple enum used to describe the receiver state transitions. More... | |
Public Member Functions | |
ACE_RMCast_Receiver_Module (void) | |
Constructor. | |
virtual | ~ACE_RMCast_Receiver_Module (void) |
Destructor. | |
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 Member Functions | |
void | leaving (ACE_RMCast_Proxy *proxy) |
Enter the leaving state, prepare for termination. | |
Private Attributes | |
int | state_ |
The current state of the receiver. |
A receiver proxy must reject invalid messages and communicate with the sender to join and leave the multicast group.
This module performs all the task related to
|
Simple enum used to describe the receiver state transitions. Receivers go through several states before they can fully accept messages, the following comments describe those states, as well as the possible transitions This configuration is pesimistic, any invalid message is cause enough to reclaim all the resources. This partially addresses situations where either accidentally or intentionally a sender is multicasting packets to the wrong group.
|
|
Constructor.
|
|
Destructor.
|
|
Push an ack mesage through the stack.
Reimplemented from ACE_RMCast_Module. |
|
Push a message to ack a join request through the stack.
Reimplemented from ACE_RMCast_Module. |
|
Push a message to ack a leave request through the stack.
Reimplemented from ACE_RMCast_Module. |
|
Push data through the stack.
Reimplemented from ACE_RMCast_Module. |
|
Push a join message through the stack.
Reimplemented from ACE_RMCast_Module. |
|
Push a leave message through the stack.
Reimplemented from ACE_RMCast_Module. |
|
Enter the leaving state, prepare for termination.
|
|
Push a polling request through the stack.
Reimplemented from ACE_RMCast_Module. |
|
The current state of the receiver.
|