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

ACE_RMCast Class Reference

The RMCast namespace. More...

#include <RMCast.h>

List of all members.

Public Types

enum  Message_Type {
  MT_POLL, MT_ACK_JOIN, MT_ACK_LEAVE, MT_DATA,
  MT_JOIN, MT_LEAVE, MT_ACK, 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...


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.

Definition at line 41 of file RMCast.h.


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.

Enumeration values:
MT_POLL 
MT_ACK_JOIN 
MT_ACK_LEAVE 
MT_DATA 
MT_JOIN 
MT_LEAVE 
MT_ACK 
MT_LAST 

Definition at line 52 of file RMCast.h.

00053   {
00054     // Sender initiated
00055     MT_POLL,
00056     MT_ACK_JOIN,
00057     MT_ACK_LEAVE,
00058     MT_DATA,
00059     // Receiver initiated
00060     MT_JOIN,
00061     MT_LEAVE,
00062     MT_ACK,
00063     MT_LAST
00064   };

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

Enumeration values:
SS_NON_EXISTENT 
SS_JOINED 

Definition at line 100 of file RMCast.h.

00101   {
00102     SS_NON_EXISTENT,
00103     SS_JOINED
00104   };


The documentation for this class was generated from the following file:
Generated on Mon Jun 16 13:13:47 2003 for ACE_RMCast by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002