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  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))
#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)

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, 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 PRENODESET_L = 1


Define Documentation

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

Definition at line 45 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 46 of file ChordMessage_m.h.

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

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

Definition at line 41 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 42 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 37 of file ChordMessage_m.h.

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

#define KOORDEFINDNODEEXTMESSAGE_L   (KEY_L + STEP_L)

Definition at line 49 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))

Definition at line 32 of file ChordMessage_m.h.

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

#define NOTIFYRESPONSE_L ( msg   ) 

Value:

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

Definition at line 33 of file ChordMessage_m.h.

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

#define STABILIZECALL_L ( msg   )     BASECALL_L(msg)

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

Definition at line 40 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 65 of file ChordMessage_m.h.

00065                   {
00066     NEWSUCCESSORHINT = 0
00067 };


Function Documentation

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

Definition at line 565 of file ChordMessage_m.h.

00565 {obj.parsimPack(b);}

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

Definition at line 518 of file ChordMessage_m.h.

00518 {obj.parsimPack(b);}

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

Definition at line 483 of file ChordMessage_m.h.

00483 {obj.parsimPack(b);}

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

Definition at line 444 of file ChordMessage_m.h.

00444 {obj.parsimPack(b);}

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

Definition at line 402 of file ChordMessage_m.h.

00402 {obj.parsimPack(b);}

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

Definition at line 368 of file ChordMessage_m.h.

00368 {obj.parsimPack(b);}

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

Definition at line 333 of file ChordMessage_m.h.

00333 {obj.parsimPack(b);}

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

Definition at line 303 of file ChordMessage_m.h.

00303 {obj.parsimPack(b);}

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

Definition at line 256 of file ChordMessage_m.h.

00256 {obj.parsimPack(b);}

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

Definition at line 226 of file ChordMessage_m.h.

00226 {obj.parsimPack(b);}

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

Definition at line 175 of file ChordMessage_m.h.

00175 {obj.parsimPack(b);}

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

Definition at line 140 of file ChordMessage_m.h.

00140 {obj.parsimPack(b);}

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

Definition at line 100 of file ChordMessage_m.h.

00100 {obj.parsimPack(b);}

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

Definition at line 566 of file ChordMessage_m.h.

00566 {obj.parsimUnpack(b);}

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

Definition at line 519 of file ChordMessage_m.h.

00519 {obj.parsimUnpack(b);}

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

Definition at line 484 of file ChordMessage_m.h.

00484 {obj.parsimUnpack(b);}

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

Definition at line 445 of file ChordMessage_m.h.

00445 {obj.parsimUnpack(b);}

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

Definition at line 403 of file ChordMessage_m.h.

00403 {obj.parsimUnpack(b);}

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

Definition at line 369 of file ChordMessage_m.h.

00369 {obj.parsimUnpack(b);}

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

Definition at line 334 of file ChordMessage_m.h.

00334 {obj.parsimUnpack(b);}

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

Definition at line 304 of file ChordMessage_m.h.

00304 {obj.parsimUnpack(b);}

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

Definition at line 257 of file ChordMessage_m.h.

00257 {obj.parsimUnpack(b);}

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

Definition at line 227 of file ChordMessage_m.h.

00227 {obj.parsimUnpack(b);}

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

Definition at line 176 of file ChordMessage_m.h.

00176 {obj.parsimUnpack(b);}

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

Definition at line 141 of file ChordMessage_m.h.

00141 {obj.parsimUnpack(b);}

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

Definition at line 101 of file ChordMessage_m.h.

00101 {obj.parsimUnpack(b);}


Variable Documentation

const int CHORDCOMMAND_L = 8 [static]

Definition at line 24 of file ChordMessage_m.h.

const int FINGER_L = 8 [static]

Definition at line 26 of file ChordMessage_m.h.

const int PRENODESET_L = 1 [static]

Definition at line 28 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 Tue Sep 8 17:26:55 2009 for OverSim by  doxygen 1.5.8