OverSim
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...

Macros

#define MSGC_VERSION   0x0402
#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

Macro Definition Documentation

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

Definition at line 44 of file ChordMessage_m.h.

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

#define DEBRUIJNRESPONSE_L (   msg)
Value:
(msg->getSucNodeArraySize() * NODEHANDLE_L))

Definition at line 45 of file ChordMessage_m.h.

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

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

Definition at line 40 of file ChordMessage_m.h.

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

#define FIXFINGERSRESPONSE_L (   msg)
Value:
NODEHANDLE_L + SUCNUM_L + \
(msg->getSucNodeArraySize() * NODEHANDLE_L))

Definition at line 41 of file ChordMessage_m.h.

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

#define JOINCALL_L (   msg)    BASECALL_L(msg)
#define JOINRESPONSE_L (   msg)
Value:
(msg->getSucNodeArraySize() * NODEHANDLE_L))

Definition at line 36 of file ChordMessage_m.h.

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

#define KOORDEFINDNODEEXTMESSAGE_L   (KEY_L + STEP_L)

Definition at line 48 of file ChordMessage_m.h.

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

#define MSGC_VERSION   0x0402

Definition at line 11 of file ChordMessage_m.h.

#define NEWSUCCESSORHINT_L (   msg)
#define NOTIFYCALL_L (   msg)    (BASECALL_L(msg))

Definition at line 31 of file ChordMessage_m.h.

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

#define NOTIFYRESPONSE_L (   msg)
Value:
(msg->getSucNodeArraySize() * NODEHANDLE_L) +\

Definition at line 32 of file ChordMessage_m.h.

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

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

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

{
};

Function Documentation

void doPacking ( cCommBuffer *  b,
ChordMessage obj 
)
inline

Definition at line 102 of file ChordMessage_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
NewSuccessorHintMessage obj 
)
inline

Definition at line 146 of file ChordMessage_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
NotifyCall obj 
)
inline

Definition at line 185 of file ChordMessage_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
NotifyResponse obj 
)
inline

Definition at line 240 of file ChordMessage_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
JoinCall obj 
)
inline

Definition at line 274 of file ChordMessage_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
JoinResponse obj 
)
inline

Definition at line 325 of file ChordMessage_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
StabilizeCall obj 
)
inline

Definition at line 359 of file ChordMessage_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
StabilizeResponse obj 
)
inline

Definition at line 398 of file ChordMessage_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
FixfingersCall obj 
)
inline

Definition at line 436 of file ChordMessage_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
FixfingersResponse obj 
)
inline

Definition at line 482 of file ChordMessage_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
KoordeFindNodeExtMessage obj 
)
inline

Definition at line 525 of file ChordMessage_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
DeBruijnCall obj 
)
inline

Definition at line 564 of file ChordMessage_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
DeBruijnResponse obj 
)
inline

Definition at line 615 of file ChordMessage_m.h.

{obj.parsimPack(b);}
void doUnpacking ( cCommBuffer *  b,
ChordMessage obj 
)
inline

Definition at line 103 of file ChordMessage_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
NewSuccessorHintMessage obj 
)
inline

Definition at line 147 of file ChordMessage_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
NotifyCall obj 
)
inline

Definition at line 186 of file ChordMessage_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
NotifyResponse obj 
)
inline

Definition at line 241 of file ChordMessage_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
JoinCall obj 
)
inline

Definition at line 275 of file ChordMessage_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
JoinResponse obj 
)
inline

Definition at line 326 of file ChordMessage_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
StabilizeCall obj 
)
inline

Definition at line 360 of file ChordMessage_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
StabilizeResponse obj 
)
inline

Definition at line 399 of file ChordMessage_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
FixfingersCall obj 
)
inline

Definition at line 437 of file ChordMessage_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
FixfingersResponse obj 
)
inline

Definition at line 483 of file ChordMessage_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
KoordeFindNodeExtMessage obj 
)
inline

Definition at line 526 of file ChordMessage_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
DeBruijnCall obj 
)
inline

Definition at line 565 of file ChordMessage_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
DeBruijnResponse obj 
)
inline

Definition at line 616 of file ChordMessage_m.h.

{obj.parsimUnpack(b);}

Variable Documentation

const int CHORDCOMMAND_L = 8
static

Definition at line 23 of file ChordMessage_m.h.

const int FINGER_L = 8
static

Definition at line 25 of file ChordMessage_m.h.

const int PRENODESET_L = 1
static

Definition at line 27 of file ChordMessage_m.h.

const int STEP_L = 8
static

Definition at line 26 of file ChordMessage_m.h.

const int SUCNUM_L = 8
static

Definition at line 24 of file ChordMessage_m.h.