ACE_RMCast Class Reference

The RMCast namespace. More...

#include <RMCast.h>

List of all members.

Public Types

enum  Message_Type {
  RMCAST_MT_POLL, RMCAST_MT_ACK_JOIN, RMCAST_MT_ACK_LEAVE, RMCAST_MT_DATA,
  RMCAST_MT_JOIN, RMCAST_MT_LEAVE, RMCAST_MT_ACK, RMCAST_MT_LAST
}
 The message types. More...
enum  Sender_State { SS_NON_EXISTENT, SS_JOINED }
 Simle enum used to describe the state transitions for senders. More...

Classes

struct  Ack
struct  Ack_Join
 Receivers accept new members using this message. More...
struct  Ack_Leave
 Senders acknowledge when receivers try to leave. More...
struct  Data
 This is the main message sent by senders. More...
struct  Join
 Receivers send this message to indicate they want to join. More...
struct  Leave
 Receivers send this message to disconnect gracefully. More...
struct  Poll


Detailed Description

The RMCast namespace.

Several simple data structures and enums are shared by all the RMCast components, this is the place where we put them by default.


Member Enumeration Documentation

enum ACE_RMCast::Message_Type
 

The message types.

Each message includes a type field in the header used by the receiver to correctly parse it. Classes with the same name as the message type describe the actual format of the message.

Enumerator:
RMCAST_MT_POLL 
RMCAST_MT_ACK_JOIN 
RMCAST_MT_ACK_LEAVE 
RMCAST_MT_DATA 
RMCAST_MT_JOIN 
RMCAST_MT_LEAVE 
RMCAST_MT_ACK 
RMCAST_MT_LAST 

enum ACE_RMCast::Sender_State
 

Simle enum used to describe the state transitions for senders.

State transition (and actions) for the senders. 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.

NON_EXISTENT JOINED
------------------------------------------
POLL NON_EXISTENT NON_EXISTENT
Destroy Destroy

ACK NON_EXISTENT JOINED
Noop Process/Ack

JOIN JOINED NON_EXISTENT
Send/Join_Ack Send/Join_Ack

LEAVE NON_EXISTENT NON_EXISTENT
Send/Leave_Ack Send/Leave_Ack
Destroy

ACK_JOIN NON_EXISTENT NON_EXISTENT
Noop Destroy

ACK_LEAVE NON_EXISTENT NON_EXISTENT
Noop Destroy

SEND_DATA NON_EXISTENT NON_EXISTENT
Noop Destroy

Enumerator:
SS_NON_EXISTENT 
SS_JOINED 


The documentation for this class was generated from the following file:
Generated on Wed Nov 23 15:54:17 2005 for ACE_RMCast by  doxygen 1.4.5