#include <omnetpp.h>#include <NodeHandle.h>#include <QuonDefs.h>#include <QuonHelper.h>#include <CommonMessages_m.h>Go to the source code of this file.
Classes | |
| class | QuonSelfMessage |
Class generated from overlay/quon/Quon.msg by opp_msgc. More... | |
| class | QuonMessage |
Class generated from overlay/quon/Quon.msg by opp_msgc. More... | |
| class | QuonListMessage |
Class generated from overlay/quon/Quon.msg by opp_msgc. More... | |
| class | QuonMoveMessage |
Class generated from overlay/quon/Quon.msg by opp_msgc. More... | |
| class | QuonEventMessage |
Class generated from overlay/quon/Quon.msg by opp_msgc. More... | |
Defines | |
| #define | MSGC_VERSION 0x0400 |
| #define | QUON_L(msg) (QUONCOMMAND_L + QUONENTRY_L + KEY_L + QUONAOI_L) |
| #define | QUONLIST_L(msg) (QUON_L(msg) + QUONENTRYCOUNT_L + msg->getNeighborHandleArraySize() * QUONENTRY_L) |
| #define | QUONMOVE_L(msg) (QUONLIST_L(msg) + QUONPOSITION_L + QUONFLAG_L) |
| #define | QUONENTRY_L (NODEHANDLE_L + QUONPOSITION_L) |
Enumerations | |
| enum | QUONCommand { JOIN_REQUEST = 0, JOIN_ACKNOWLEDGE = 1, NODE_MOVE = 2, NEW_NEIGHBORS = 3, NODE_LEAVE = 4, QUON_EVENT = 5 } |
Enum generated from overlay/quon/Quon.msg by opp_msgc. More... | |
Functions | |
| void | doPacking (cCommBuffer *b, QuonSelfMessage &obj) |
| void | doUnpacking (cCommBuffer *b, QuonSelfMessage &obj) |
| void | doPacking (cCommBuffer *b, QuonMessage &obj) |
| void | doUnpacking (cCommBuffer *b, QuonMessage &obj) |
| void | doPacking (cCommBuffer *b, QuonListMessage &obj) |
| void | doUnpacking (cCommBuffer *b, QuonListMessage &obj) |
| void | doPacking (cCommBuffer *b, QuonMoveMessage &obj) |
| void | doUnpacking (cCommBuffer *b, QuonMoveMessage &obj) |
| void | doPacking (cCommBuffer *b, QuonEventMessage &obj) |
| void | doUnpacking (cCommBuffer *b, QuonEventMessage &obj) |
Variables | |
| static const int | QUONCOMMAND_L = 8 |
| static const int | QUONPOSITION_L = 128 |
| static const int | QUONAOI_L = 64 |
| static const int | QUONENTRYCOUNT_L = 32 |
| static const int | QUONFLAG_L = 1 |
| #define QUON_L | ( | msg | ) | (QUONCOMMAND_L + QUONENTRY_L + KEY_L + QUONAOI_L) |
| #define QUONENTRY_L (NODEHANDLE_L + QUONPOSITION_L) |
| #define QUONLIST_L | ( | msg | ) | (QUON_L(msg) + QUONENTRYCOUNT_L + msg->getNeighborHandleArraySize() * QUONENTRY_L) |
Definition at line 31 of file Quon_m.h.
Referenced by Quon::handleInvalidNode(), Quon::handleJoinRequest(), Quon::handleNodeGracefulLeaveNotification(), and Quon::handleNodeMove().
| #define QUONMOVE_L | ( | msg | ) | (QUONLIST_L(msg) + QUONPOSITION_L + QUONFLAG_L) |
Definition at line 32 of file Quon_m.h.
Referenced by Quon::handleJoinAcknowledge(), Quon::handleMove(), and Quon::processBackupTimer().
| enum QUONCommand |
Enum generated from overlay/quon/Quon.msg by opp_msgc.
enum QUONCommand
{
JOIN_REQUEST = 0;
JOIN_ACKNOWLEDGE = 1;
NODE_MOVE = 2;
NEW_NEIGHBORS = 3;
NODE_LEAVE = 4;
QUON_EVENT = 5;
}
Definition at line 52 of file Quon_m.h.
00052 { 00053 JOIN_REQUEST = 0, 00054 JOIN_ACKNOWLEDGE = 1, 00055 NODE_MOVE = 2, 00056 NEW_NEIGHBORS = 3, 00057 NODE_LEAVE = 4, 00058 QUON_EVENT = 5 00059 };
| void doPacking | ( | cCommBuffer * | b, | |
| QuonEventMessage & | obj | |||
| ) | [inline] |
| void doPacking | ( | cCommBuffer * | b, | |
| QuonMoveMessage & | obj | |||
| ) | [inline] |
| void doPacking | ( | cCommBuffer * | b, | |
| QuonListMessage & | obj | |||
| ) | [inline] |
| void doPacking | ( | cCommBuffer * | b, | |
| QuonMessage & | obj | |||
| ) | [inline] |
| void doPacking | ( | cCommBuffer * | b, | |
| QuonSelfMessage & | obj | |||
| ) | [inline] |
| void doUnpacking | ( | cCommBuffer * | b, | |
| QuonEventMessage & | obj | |||
| ) | [inline] |
| void doUnpacking | ( | cCommBuffer * | b, | |
| QuonMoveMessage & | obj | |||
| ) | [inline] |
| void doUnpacking | ( | cCommBuffer * | b, | |
| QuonListMessage & | obj | |||
| ) | [inline] |
| void doUnpacking | ( | cCommBuffer * | b, | |
| QuonMessage & | obj | |||
| ) | [inline] |
| void doUnpacking | ( | cCommBuffer * | b, | |
| QuonSelfMessage & | obj | |||
| ) | [inline] |
const int QUONCOMMAND_L = 8 [static] |
const int QUONENTRYCOUNT_L = 32 [static] |
const int QUONFLAG_L = 1 [static] |
const int QUONPOSITION_L = 128 [static] |
1.5.8