|
OverSim
|
#include <omnetpp.h>#include <NodeHandle.h>#include <OverlayKey.h>#include <Vector2D.h>#include <CommonMessages_m.h>Go to the source code of this file.
Classes | |
| class | VastMessage |
Class generated from overlay/vast/Vast.msg by opp_msgc. More... | |
| class | VastListMessage |
Class generated from overlay/vast/Vast.msg by opp_msgc. More... | |
| class | VastMoveMessage |
Class generated from overlay/vast/Vast.msg by opp_msgc. More... | |
| class | VastDiscardMessage |
Class generated from overlay/vast/Vast.msg by opp_msgc. More... | |
| class | VastEventMessage |
Class generated from overlay/vast/Vast.msg by opp_msgc. More... | |
Macros | |
| #define | MSGC_VERSION 0x0402 |
| #define | VAST_L(msg) (VASTCOMMAND_L + NODEHANDLE_L + KEY_L + POSITION_L + COUNT_L) |
| #define | VASTLIST_L(msg) (VAST_L(msg) + ENTRYCOUNT_L + FLAG_L + msg->getNeighborNodeArraySize() * (NODEHANDLE_L + POSITION_L)) |
| #define | VASTMOVE_L(msg) (VAST_L(msg) + POSITION_L + 2 * FLAG_L) |
| #define | VASTDISCARD_L(msg) (VAST_L(msg) + NODEHANDLE_L) |
Enumerations | |
| enum | VASTCommand { JOIN_REQUEST = 0, JOIN_ACKNOWLEDGE = 1, NODE_MOVE = 2, NEW_NEIGHBORS = 3, NODE_LEAVE = 4, ENCLOSING_NEIGHBORS_REQUEST = 5, BACKUP_NEIGHBORS = 6, PING = 7, PONG = 8, DISCARD_NODE = 9, VAST_EVENT = 10 } |
Enum generated from overlay/vast/Vast.msg by opp_msgc. More... | |
Functions | |
| void | doPacking (cCommBuffer *b, VastMessage &obj) |
| void | doUnpacking (cCommBuffer *b, VastMessage &obj) |
| void | doPacking (cCommBuffer *b, VastListMessage &obj) |
| void | doUnpacking (cCommBuffer *b, VastListMessage &obj) |
| void | doPacking (cCommBuffer *b, VastMoveMessage &obj) |
| void | doUnpacking (cCommBuffer *b, VastMoveMessage &obj) |
| void | doPacking (cCommBuffer *b, VastDiscardMessage &obj) |
| void | doUnpacking (cCommBuffer *b, VastDiscardMessage &obj) |
| void | doPacking (cCommBuffer *b, VastEventMessage &obj) |
| void | doUnpacking (cCommBuffer *b, VastEventMessage &obj) |
Variables | |
| static const int | VASTCOMMAND_L = 8 |
| static const int | POSITION_L = 128 |
| static const int | ENTRYCOUNT_L = 32 |
| static const int | COUNT_L = 32 |
| static const int | FLAG_L = 8 |
| #define VAST_L | ( | msg | ) | (VASTCOMMAND_L + NODEHANDLE_L + KEY_L + POSITION_L + COUNT_L) |
Definition at line 29 of file Vast_m.h.
Referenced by Vast::handleJoin(), Vast::handleNewNeighbors(), Vast::handlePing(), and Vast::processPingTimer().
| #define VASTDISCARD_L | ( | msg | ) | (VAST_L(msg) + NODEHANDLE_L) |
Definition at line 32 of file Vast_m.h.
Referenced by Vast::sendDiscardNode().
| #define VASTLIST_L | ( | msg | ) | (VAST_L(msg) + ENTRYCOUNT_L + FLAG_L + msg->getNeighborNodeArraySize() * (NODEHANDLE_L + POSITION_L)) |
Definition at line 30 of file Vast_m.h.
Referenced by Vast::handleEnclosingNeighborsRequest(), Vast::handleJoinRequest(), Vast::handleNodeGracefulLeaveNotification(), Vast::handleNodeMove(), and Vast::processCheckCriticalTimer().
| #define VASTMOVE_L | ( | msg | ) | (VAST_L(msg) + POSITION_L + 2 * FLAG_L) |
Definition at line 31 of file Vast_m.h.
Referenced by Vast::handleJoinAcknowledge(), Vast::handleMove(), and Vast::processDiscoveryTimer().
| enum VASTCommand |
Enum generated from overlay/vast/Vast.msg by opp_msgc.
enum VASTCommand
{
JOIN_REQUEST = 0;
JOIN_ACKNOWLEDGE = 1;
NODE_MOVE = 2;
NEW_NEIGHBORS = 3;
NODE_LEAVE = 4;
ENCLOSING_NEIGHBORS_REQUEST = 5;
BACKUP_NEIGHBORS = 6;
PING = 7;
PONG = 8;
DISCARD_NODE = 9;
VAST_EVENT = 10;
}
| JOIN_REQUEST | |
| JOIN_ACKNOWLEDGE | |
| NODE_MOVE | |
| NEW_NEIGHBORS | |
| NODE_LEAVE | |
| ENCLOSING_NEIGHBORS_REQUEST | |
| BACKUP_NEIGHBORS | |
| PING | |
| PONG | |
| DISCARD_NODE | |
| VAST_EVENT |
Definition at line 56 of file Vast_m.h.
|
inline |
Definition at line 124 of file Vast_m.h.
|
inline |
Definition at line 178 of file Vast_m.h.
|
inline |
Definition at line 225 of file Vast_m.h.
|
inline |
Definition at line 264 of file Vast_m.h.
|
inline |
Definition at line 298 of file Vast_m.h.
|
inline |
Definition at line 125 of file Vast_m.h.
|
inline |
Definition at line 179 of file Vast_m.h.
|
inline |
Definition at line 226 of file Vast_m.h.
|
inline |
Definition at line 265 of file Vast_m.h.
|
inline |
Definition at line 299 of file Vast_m.h.