ScribeMessage_m.h File Reference

#include <omnetpp.h>
#include <CommonMessages_m.h>
#include "ScribeGroup.h"

Go to the source code of this file.

Classes

class  ScribeJoinCall
 Class generated from applications/scribe/ScribeMessage.msg by opp_msgc. More...
class  ScribeJoinResponse
 Class generated from applications/scribe/ScribeMessage.msg by opp_msgc. More...
class  ScribePublishCall
 Class generated from applications/scribe/ScribeMessage.msg by opp_msgc. More...
class  ScribePublishResponse
 Class generated from applications/scribe/ScribeMessage.msg by opp_msgc. More...
class  ScribeSubscriptionRefreshMessage
 Class generated from applications/scribe/ScribeMessage.msg by opp_msgc. More...
class  ScribeLeaveMessage
 Class generated from applications/scribe/ScribeMessage.msg by opp_msgc. More...
class  ScribeTimer
 Class generated from applications/scribe/ScribeMessage.msg by opp_msgc. More...
class  ScribeDataMessage
 Class generated from applications/scribe/ScribeMessage.msg by opp_msgc. More...

Defines

#define MSGC_VERSION   0x0400
#define SCRIBE_JOINCALL_L(msg)   (BASECALL_L(msg))
#define SCRIBE_JOINRESPONSE_L(msg)   (BASECALL_L(msg))
#define SCRIBE_PUBLISHCALL_L(msg)   (BASECALL_L(msg))
#define SCRIBE_PUBLISHRESPONSE_L(msg)   (BASECALL_L(msg) + SCRIBE_WRONGROOT_L)
#define SCRIBE_SUBSCRIPTIONREFRESH_L(msg)   (NODEHANDLE_L + KEY_L)
#define SCRIBE_LEAVE_L(msg)   (NODEHANDLE_L + KEY_L)
#define SCRIBE_DATA_L(msg)   (KEY_L + SCRIBE_EMPTYFLAG_L)

Enumerations

enum  ScribeTimerType { SCRIBE_HEARTBEAT = 0, SCRIBE_SUBSCRIPTION_REFRESH = 1, SCRIBE_PARENT_TIMEOUT = 2, SCRIBE_CHILD_TIMEOUT = 3 }
 Enum generated from applications/scribe/ScribeMessage.msg by opp_msgc. More...

Functions

void doPacking (cCommBuffer *b, ScribeJoinCall &obj)
void doUnpacking (cCommBuffer *b, ScribeJoinCall &obj)
void doPacking (cCommBuffer *b, ScribeJoinResponse &obj)
void doUnpacking (cCommBuffer *b, ScribeJoinResponse &obj)
void doPacking (cCommBuffer *b, ScribePublishCall &obj)
void doUnpacking (cCommBuffer *b, ScribePublishCall &obj)
void doPacking (cCommBuffer *b, ScribePublishResponse &obj)
void doUnpacking (cCommBuffer *b, ScribePublishResponse &obj)
void doPacking (cCommBuffer *b, ScribeSubscriptionRefreshMessage &obj)
void doUnpacking (cCommBuffer *b, ScribeSubscriptionRefreshMessage &obj)
void doPacking (cCommBuffer *b, ScribeLeaveMessage &obj)
void doUnpacking (cCommBuffer *b, ScribeLeaveMessage &obj)
void doPacking (cCommBuffer *b, ScribeTimer &obj)
void doUnpacking (cCommBuffer *b, ScribeTimer &obj)
void doPacking (cCommBuffer *b, ScribeDataMessage &obj)
void doUnpacking (cCommBuffer *b, ScribeDataMessage &obj)

Variables

static const int SCRIBE_WRONGROOT_L = 8
static const int SCRIBE_EMPTYFLAG_L = 8


Define Documentation

#define MSGC_VERSION   0x0400

Definition at line 11 of file ScribeMessage_m.h.

#define SCRIBE_DATA_L ( msg   )     (KEY_L + SCRIBE_EMPTYFLAG_L)

Definition at line 36 of file ScribeMessage_m.h.

Referenced by Scribe::deliverALMDataToRoot(), and Scribe::handleTimerEvent().

#define SCRIBE_JOINCALL_L ( msg   )     (BASECALL_L(msg))

#define SCRIBE_JOINRESPONSE_L ( msg   )     (BASECALL_L(msg))

Definition at line 30 of file ScribeMessage_m.h.

Referenced by Scribe::handleJoinMessage().

#define SCRIBE_LEAVE_L ( msg   )     (NODEHANDLE_L + KEY_L)

Definition at line 35 of file ScribeMessage_m.h.

Referenced by Scribe::checkGroupEmpty().

#define SCRIBE_PUBLISHCALL_L ( msg   )     (BASECALL_L(msg))

Definition at line 31 of file ScribeMessage_m.h.

Referenced by Scribe::deliverALMDataToRoot().

#define SCRIBE_PUBLISHRESPONSE_L ( msg   )     (BASECALL_L(msg) + SCRIBE_WRONGROOT_L)

Definition at line 32 of file ScribeMessage_m.h.

Referenced by Scribe::handlePublishCall().

#define SCRIBE_SUBSCRIPTIONREFRESH_L ( msg   )     (NODEHANDLE_L + KEY_L)

Definition at line 34 of file ScribeMessage_m.h.

Referenced by Scribe::handleTimerEvent().


Enumeration Type Documentation

Enum generated from applications/scribe/ScribeMessage.msg by opp_msgc.

 enum ScribeTimerType 
 {

     SCRIBE_HEARTBEAT = 0; 
     SCRIBE_SUBSCRIPTION_REFRESH = 1; 
     SCRIBE_PARENT_TIMEOUT = 2; 
     SCRIBE_CHILD_TIMEOUT = 3; 
 }
 
Enumerator:
SCRIBE_HEARTBEAT 
SCRIBE_SUBSCRIPTION_REFRESH 
SCRIBE_PARENT_TIMEOUT 
SCRIBE_CHILD_TIMEOUT 

Definition at line 54 of file ScribeMessage_m.h.

00054                      {
00055     SCRIBE_HEARTBEAT = 0,
00056     SCRIBE_SUBSCRIPTION_REFRESH = 1,
00057     SCRIBE_PARENT_TIMEOUT = 2,
00058     SCRIBE_CHILD_TIMEOUT = 3
00059 };


Function Documentation

void doPacking ( cCommBuffer *  b,
ScribeDataMessage obj 
) [inline]

Definition at line 369 of file ScribeMessage_m.h.

00369 {obj.parsimPack(b);}

void doPacking ( cCommBuffer *  b,
ScribeTimer obj 
) [inline]

Definition at line 330 of file ScribeMessage_m.h.

00330 {obj.parsimPack(b);}

void doPacking ( cCommBuffer *  b,
ScribeLeaveMessage obj 
) [inline]

Definition at line 286 of file ScribeMessage_m.h.

00286 {obj.parsimPack(b);}

void doPacking ( cCommBuffer *  b,
ScribeSubscriptionRefreshMessage obj 
) [inline]

Definition at line 246 of file ScribeMessage_m.h.

00246 {obj.parsimPack(b);}

void doPacking ( cCommBuffer *  b,
ScribePublishResponse obj 
) [inline]

Definition at line 206 of file ScribeMessage_m.h.

00206 {obj.parsimPack(b);}

void doPacking ( cCommBuffer *  b,
ScribePublishCall obj 
) [inline]

Definition at line 166 of file ScribeMessage_m.h.

00166 {obj.parsimPack(b);}

void doPacking ( cCommBuffer *  b,
ScribeJoinResponse obj 
) [inline]

Definition at line 130 of file ScribeMessage_m.h.

00130 {obj.parsimPack(b);}

void doPacking ( cCommBuffer *  b,
ScribeJoinCall obj 
) [inline]

Definition at line 94 of file ScribeMessage_m.h.

00094 {obj.parsimPack(b);}

void doUnpacking ( cCommBuffer *  b,
ScribeDataMessage obj 
) [inline]

Definition at line 370 of file ScribeMessage_m.h.

00370 {obj.parsimUnpack(b);}

void doUnpacking ( cCommBuffer *  b,
ScribeTimer obj 
) [inline]

Definition at line 331 of file ScribeMessage_m.h.

00331 {obj.parsimUnpack(b);}

void doUnpacking ( cCommBuffer *  b,
ScribeLeaveMessage obj 
) [inline]

Definition at line 287 of file ScribeMessage_m.h.

00287 {obj.parsimUnpack(b);}

void doUnpacking ( cCommBuffer *  b,
ScribeSubscriptionRefreshMessage obj 
) [inline]

Definition at line 247 of file ScribeMessage_m.h.

00247 {obj.parsimUnpack(b);}

void doUnpacking ( cCommBuffer *  b,
ScribePublishResponse obj 
) [inline]

Definition at line 207 of file ScribeMessage_m.h.

00207 {obj.parsimUnpack(b);}

void doUnpacking ( cCommBuffer *  b,
ScribePublishCall obj 
) [inline]

Definition at line 167 of file ScribeMessage_m.h.

00167 {obj.parsimUnpack(b);}

void doUnpacking ( cCommBuffer *  b,
ScribeJoinResponse obj 
) [inline]

Definition at line 131 of file ScribeMessage_m.h.

00131 {obj.parsimUnpack(b);}

void doUnpacking ( cCommBuffer *  b,
ScribeJoinCall obj 
) [inline]

Definition at line 95 of file ScribeMessage_m.h.

00095 {obj.parsimUnpack(b);}


Variable Documentation

const int SCRIBE_EMPTYFLAG_L = 8 [static]

Definition at line 26 of file ScribeMessage_m.h.

const int SCRIBE_WRONGROOT_L = 8 [static]

Definition at line 25 of file ScribeMessage_m.h.


Generated on Tue Sep 8 17:26:55 2009 for OverSim by  doxygen 1.5.8