ChordMessage_m.h File Reference

#include <omnetpp.h>
#include <IPvXAddress.h>
#include <NodeHandle.h>
#include <TransportAddress.h>
#include <CommonMessages_m.h>

Go to the source code of this file.

Classes

class  ChordMessage
 Class generated from overlay/chord/ChordMessage.msg by opp_msgc. More...
class  NewSuccessorHintMessage
 Class generated from overlay/chord/ChordMessage.msg by opp_msgc. More...
class  NotifyCall
 Class generated from overlay/chord/ChordMessage.msg by opp_msgc. More...
class  NotifyResponse
 Class generated from overlay/chord/ChordMessage.msg by opp_msgc. More...
class  JoinCall
 Class generated from overlay/chord/ChordMessage.msg by opp_msgc. More...
class  JoinResponse
 Class generated from overlay/chord/ChordMessage.msg by opp_msgc. More...
class  StabilizeCall
 Class generated from overlay/chord/ChordMessage.msg by opp_msgc. More...
class  StabilizeResponse
 Class generated from overlay/chord/ChordMessage.msg by opp_msgc. More...
class  FixfingersCall
 Class generated from overlay/chord/ChordMessage.msg by opp_msgc. More...
class  FixfingersResponse
 Class generated from overlay/chord/ChordMessage.msg by opp_msgc. More...
class  ChordFindNodeExtMessage
 Class generated from overlay/chord/ChordMessage.msg by opp_msgc. More...
class  KoordeFindNodeExtMessage
 Class generated from overlay/chord/ChordMessage.msg by opp_msgc. More...
class  DeBruijnCall
 Class generated from overlay/chord/ChordMessage.msg by opp_msgc. More...
class  DeBruijnResponse
 Class generated from overlay/chord/ChordMessage.msg by opp_msgc. More...

Defines

#define MSGC_VERSION   0x0400
#define NEWSUCCESSORHINT_L(msg)
#define NOTIFYCALL_L(msg)   (BASECALL_L(msg) + DBNODESET_L)
#define NOTIFYRESPONSE_L(msg)
#define JOINCALL_L(msg)   BASECALL_L(msg)
#define JOINRESPONSE_L(msg)
#define STABILIZECALL_L(msg)   BASECALL_L(msg)
#define STABILIZERESPONSE_L(msg)   (BASERESPONSE_L(msg) + NODEHANDLE_L)
#define FIXFINGERSCALL_L(msg)   (BASECALL_L(msg) + FINGER_L)
#define FIXFINGERSRESPONSE_L(msg)
#define DEBRUIJNCALL_L(msg)   (BASECALL_L(msg) + KEY_L)
#define DEBRUIJNRESPONSE_L(msg)
#define KOORDEFINDNODEEXTMESSAGE_L   (KEY_L + STEP_L + OTHERLOOKUP_L)

Enumerations

enum  ChordCommand { NEWSUCCESSORHINT = 0 }
 Enum generated from overlay/chord/ChordMessage.msg by opp_msgc. More...

Functions

void doPacking (cCommBuffer *b, ChordMessage &obj)
void doUnpacking (cCommBuffer *b, ChordMessage &obj)
void doPacking (cCommBuffer *b, NewSuccessorHintMessage &obj)
void doUnpacking (cCommBuffer *b, NewSuccessorHintMessage &obj)
void doPacking (cCommBuffer *b, NotifyCall &obj)
void doUnpacking (cCommBuffer *b, NotifyCall &obj)
void doPacking (cCommBuffer *b, NotifyResponse &obj)
void doUnpacking (cCommBuffer *b, NotifyResponse &obj)
void doPacking (cCommBuffer *b, JoinCall &obj)
void doUnpacking (cCommBuffer *b, JoinCall &obj)
void doPacking (cCommBuffer *b, JoinResponse &obj)
void doUnpacking (cCommBuffer *b, JoinResponse &obj)
void doPacking (cCommBuffer *b, StabilizeCall &obj)
void doUnpacking (cCommBuffer *b, StabilizeCall &obj)
void doPacking (cCommBuffer *b, StabilizeResponse &obj)
void doUnpacking (cCommBuffer *b, StabilizeResponse &obj)
void doPacking (cCommBuffer *b, FixfingersCall &obj)
void doUnpacking (cCommBuffer *b, FixfingersCall &obj)
void doPacking (cCommBuffer *b, FixfingersResponse &obj)
void doUnpacking (cCommBuffer *b, FixfingersResponse &obj)
void doPacking (cCommBuffer *b, ChordFindNodeExtMessage &obj)
void doUnpacking (cCommBuffer *b, ChordFindNodeExtMessage &obj)
void doPacking (cCommBuffer *b, KoordeFindNodeExtMessage &obj)
void doUnpacking (cCommBuffer *b, KoordeFindNodeExtMessage &obj)
void doPacking (cCommBuffer *b, DeBruijnCall &obj)
void doUnpacking (cCommBuffer *b, DeBruijnCall &obj)
void doPacking (cCommBuffer *b, DeBruijnResponse &obj)
void doUnpacking (cCommBuffer *b, DeBruijnResponse &obj)

Variables

static const int CHORDCOMMAND_L = 8
static const int SUCNUM_L = 8
static const int FINGER_L = 8
static const int STEP_L = 8
static const int DBNODESET_L = 1
static const int OTHERLOOKUP_L = 1
static const int PRENODESET_L = 1


Define Documentation

#define DEBRUIJNCALL_L ( msg   )     (BASECALL_L(msg) + KEY_L)

Definition at line 47 of file ChordMessage_m.h.

Referenced by oversim::Koorde::handleDeBruijnTimerExpired().

#define DEBRUIJNRESPONSE_L ( msg   ) 

Value:

(BASERESPONSE_L(msg) + SUCNUM_L + NODEHANDLE_L + \
                                 (msg->getSucNodeArraySize() * NODEHANDLE_L))

Definition at line 48 of file ChordMessage_m.h.

Referenced by oversim::Koorde::handleRpcDeBruijnRequest().

#define FIXFINGERSCALL_L ( msg   )     (BASECALL_L(msg) + FINGER_L)

Definition at line 43 of file ChordMessage_m.h.

Referenced by oversim::Chord::handleFixFingersTimerExpired().

#define FIXFINGERSRESPONSE_L ( msg   ) 

Value:

(BASERESPONSE_L(msg) + FINGER_L + \
                                   NODEHANDLE_L + SUCNUM_L + \
                                   (msg->getSucNodeArraySize() * NODEHANDLE_L))

Definition at line 44 of file ChordMessage_m.h.

Referenced by oversim::Chord::rpcFixfingers().

#define JOINCALL_L ( msg   )     BASECALL_L(msg)

#define JOINRESPONSE_L ( msg   ) 

Value:

(BASERESPONSE_L(msg) + SUCNUM_L + NODEHANDLE_L +\
                             (msg->getSucNodeArraySize() * NODEHANDLE_L))

Definition at line 39 of file ChordMessage_m.h.

Referenced by oversim::Chord::rpcJoin().

#define KOORDEFINDNODEEXTMESSAGE_L   (KEY_L + STEP_L + OTHERLOOKUP_L)

Definition at line 51 of file ChordMessage_m.h.

Referenced by oversim::Koorde::findNode().

#define MSGC_VERSION   0x0400

Definition at line 11 of file ChordMessage_m.h.

#define NEWSUCCESSORHINT_L ( msg   ) 

#define NOTIFYCALL_L ( msg   )     (BASECALL_L(msg) + DBNODESET_L)

#define NOTIFYRESPONSE_L ( msg   ) 

Value:

(BASERESPONSE_L(msg) + SUCNUM_L + NODEHANDLE_L +\
                              DBNODESET_L + (msg->getSucNodeArraySize() * NODEHANDLE_L) +\
                  PRENODESET_L)

Definition at line 35 of file ChordMessage_m.h.

Referenced by oversim::Koorde::rpcNotify(), and oversim::Chord::rpcNotify().

#define STABILIZECALL_L ( msg   )     BASECALL_L(msg)

#define STABILIZERESPONSE_L ( msg   )     (BASERESPONSE_L(msg) + NODEHANDLE_L)

Definition at line 42 of file ChordMessage_m.h.

Referenced by oversim::Chord::rpcStabilize().


Enumeration Type Documentation

Enum generated from overlay/chord/ChordMessage.msg by opp_msgc.

 enum ChordCommand
 {

     NEWSUCCESSORHINT = 0;
 }
 
Enumerator:
NEWSUCCESSORHINT 

Definition at line 67 of file ChordMessage_m.h.

00067                   {
00068     NEWSUCCESSORHINT = 0
00069 };


Function Documentation

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

Definition at line 622 of file ChordMessage_m.h.

00622 {obj.parsimPack(b);}

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

Definition at line 575 of file ChordMessage_m.h.

00575 {obj.parsimPack(b);}

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

Definition at line 540 of file ChordMessage_m.h.

00540 {obj.parsimPack(b);}

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

Definition at line 488 of file ChordMessage_m.h.

00488 {obj.parsimPack(b);}

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

Definition at line 454 of file ChordMessage_m.h.

00454 {obj.parsimPack(b);}

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

Definition at line 412 of file ChordMessage_m.h.

00412 {obj.parsimPack(b);}

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

Definition at line 378 of file ChordMessage_m.h.

00378 {obj.parsimPack(b);}

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

Definition at line 343 of file ChordMessage_m.h.

00343 {obj.parsimPack(b);}

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

Definition at line 313 of file ChordMessage_m.h.

00313 {obj.parsimPack(b);}

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

Definition at line 266 of file ChordMessage_m.h.

00266 {obj.parsimPack(b);}

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

Definition at line 236 of file ChordMessage_m.h.

00236 {obj.parsimPack(b);}

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

Definition at line 181 of file ChordMessage_m.h.

00181 {obj.parsimPack(b);}

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

Definition at line 142 of file ChordMessage_m.h.

00142 {obj.parsimPack(b);}

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

Definition at line 102 of file ChordMessage_m.h.

00102 {obj.parsimPack(b);}

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

Definition at line 623 of file ChordMessage_m.h.

00623 {obj.parsimUnpack(b);}

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

Definition at line 576 of file ChordMessage_m.h.

00576 {obj.parsimUnpack(b);}

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

Definition at line 541 of file ChordMessage_m.h.

00541 {obj.parsimUnpack(b);}

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

Definition at line 489 of file ChordMessage_m.h.

00489 {obj.parsimUnpack(b);}

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

Definition at line 455 of file ChordMessage_m.h.

00455 {obj.parsimUnpack(b);}

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

Definition at line 413 of file ChordMessage_m.h.

00413 {obj.parsimUnpack(b);}

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

Definition at line 379 of file ChordMessage_m.h.

00379 {obj.parsimUnpack(b);}

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

Definition at line 344 of file ChordMessage_m.h.

00344 {obj.parsimUnpack(b);}

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

Definition at line 314 of file ChordMessage_m.h.

00314 {obj.parsimUnpack(b);}

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

Definition at line 267 of file ChordMessage_m.h.

00267 {obj.parsimUnpack(b);}

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

Definition at line 237 of file ChordMessage_m.h.

00237 {obj.parsimUnpack(b);}

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

Definition at line 182 of file ChordMessage_m.h.

00182 {obj.parsimUnpack(b);}

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

Definition at line 143 of file ChordMessage_m.h.

00143 {obj.parsimUnpack(b);}

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

Definition at line 103 of file ChordMessage_m.h.

00103 {obj.parsimUnpack(b);}


Variable Documentation

const int CHORDCOMMAND_L = 8 [static]

Definition at line 24 of file ChordMessage_m.h.

const int DBNODESET_L = 1 [static]

Definition at line 28 of file ChordMessage_m.h.

const int FINGER_L = 8 [static]

Definition at line 26 of file ChordMessage_m.h.

const int OTHERLOOKUP_L = 1 [static]

Definition at line 29 of file ChordMessage_m.h.

const int PRENODESET_L = 1 [static]

Definition at line 30 of file ChordMessage_m.h.

const int STEP_L = 8 [static]

Definition at line 27 of file ChordMessage_m.h.

const int SUCNUM_L = 8 [static]

Definition at line 25 of file ChordMessage_m.h.


Generated on Fri Mar 20 18:40:27 2009 for OverSim by  doxygen 1.5.5