Classes | Defines | Enumerations | Functions | Variables

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   0x0401
#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 44 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 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:
(BASERESPONSE_L(msg) + FINGER_L + \
                                   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:
(BASERESPONSE_L(msg) + SUCNUM_L + NODEHANDLE_L +\
                             (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   0x0401

Definition at line 11 of file ChordMessage_m.h.

#define NEWSUCCESSORHINT_L (   msg  ) 
Value:
(BASEOVERLAY_L(msg) + CHORDCOMMAND_L + \
                                 2*NODEHANDLE_L)

Definition at line 29 of file ChordMessage_m.h.

Referenced by oversim::Chord::handleRpcJoinResponse(), oversim::Chord::rpcJoin(), and oversim::Chord::rpcNotify().

#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:
(BASERESPONSE_L(msg) + SUCNUM_L + NODEHANDLE_L +\
                              (msg->getSucNodeArraySize() * NODEHANDLE_L) +\
                  PRENODESET_L)

Definition at line 32 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 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.

                  {
    NEWSUCCESSORHINT = 0
};


Function Documentation

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

Definition at line 98 of file ChordMessage_m.h.

{obj.parsimPack(b);}

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

Definition at line 173 of file ChordMessage_m.h.

{obj.parsimPack(b);}

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

Definition at line 254 of file ChordMessage_m.h.

{obj.parsimPack(b);}

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

Definition at line 400 of file ChordMessage_m.h.

{obj.parsimPack(b);}

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

Definition at line 442 of file ChordMessage_m.h.

{obj.parsimPack(b);}

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

Definition at line 301 of file ChordMessage_m.h.

{obj.parsimPack(b);}

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

Definition at line 481 of file ChordMessage_m.h.

{obj.parsimPack(b);}

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

Definition at line 516 of file ChordMessage_m.h.

{obj.parsimPack(b);}

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

Definition at line 138 of file ChordMessage_m.h.

{obj.parsimPack(b);}

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

Definition at line 331 of file ChordMessage_m.h.

{obj.parsimPack(b);}

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

Definition at line 563 of file ChordMessage_m.h.

{obj.parsimPack(b);}

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

Definition at line 224 of file ChordMessage_m.h.

{obj.parsimPack(b);}

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

Definition at line 366 of file ChordMessage_m.h.

{obj.parsimPack(b);}

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

Definition at line 332 of file ChordMessage_m.h.

{obj.parsimUnpack(b);}

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

Definition at line 174 of file ChordMessage_m.h.

{obj.parsimUnpack(b);}

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

Definition at line 139 of file ChordMessage_m.h.

{obj.parsimUnpack(b);}

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

Definition at line 482 of file ChordMessage_m.h.

{obj.parsimUnpack(b);}

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

Definition at line 99 of file ChordMessage_m.h.

{obj.parsimUnpack(b);}

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

Definition at line 302 of file ChordMessage_m.h.

{obj.parsimUnpack(b);}

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

Definition at line 564 of file ChordMessage_m.h.

{obj.parsimUnpack(b);}

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

Definition at line 367 of file ChordMessage_m.h.

{obj.parsimUnpack(b);}

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

Definition at line 401 of file ChordMessage_m.h.

{obj.parsimUnpack(b);}

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

Definition at line 255 of file ChordMessage_m.h.

{obj.parsimUnpack(b);}

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

Definition at line 517 of file ChordMessage_m.h.

{obj.parsimUnpack(b);}

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

Definition at line 225 of file ChordMessage_m.h.

{obj.parsimUnpack(b);}

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

Definition at line 443 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.