|
OverSim
|
#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... | |
Macros | |
| #define | MSGC_VERSION 0x0402 |
| #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) |
Definition at line 29 of file Quon_m.h.
Referenced by Quon::handleJoin().
| #define QUONENTRY_L (NODEHANDLE_L + QUONPOSITION_L) |
Definition at line 32 of file Quon_m.h.
Referenced by Quon::handleMove().
| #define QUONLIST_L | ( | msg | ) | (QUON_L(msg) + QUONENTRYCOUNT_L + msg->getNeighborHandleArraySize() * QUONENTRY_L) |
Definition at line 30 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 31 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 51 of file Quon_m.h.
|
inline |
Definition at line 96 of file Quon_m.h.
|
inline |
Definition at line 148 of file Quon_m.h.
|
inline |
Definition at line 198 of file Quon_m.h.
|
inline |
Definition at line 241 of file Quon_m.h.
|
inline |
Definition at line 275 of file Quon_m.h.
|
inline |
Definition at line 97 of file Quon_m.h.
|
inline |
Definition at line 149 of file Quon_m.h.
|
inline |
Definition at line 199 of file Quon_m.h.
|
inline |
Definition at line 242 of file Quon_m.h.
|
inline |
Definition at line 276 of file Quon_m.h.
|
static |
Definition at line 24 of file Quon_m.h.
Referenced by LoginCache::registerPos().