OverSim
|
Go to the source code of this file.
Classes | |
class | NiceMessage |
Class generated from overlay/nice/NiceMessage.msg by opp_msgc. More... | |
class | NiceMemberMessage |
Class generated from overlay/nice/NiceMessage.msg by opp_msgc. More... | |
class | NiceClusterMerge |
Class generated from overlay/nice/NiceMessage.msg by opp_msgc. More... | |
class | NiceHeartbeat |
Class generated from overlay/nice/NiceMessage.msg by opp_msgc. More... | |
class | NiceLeaderHeartbeat |
Class generated from overlay/nice/NiceMessage.msg by opp_msgc. More... | |
class | NiceMulticastMessage |
Class generated from overlay/nice/NiceMessage.msg by opp_msgc. More... |
Macros | |
#define | MSGC_VERSION 0x0402 |
#define | TRANSPORTADDRESS_L (IPADDR_L + UDPPORT_L) |
#define | NICEMESSAGE_L(msg) (BASEOVERLAY_L(msg) + NICECOMMAND_L + TRANSPORTADDRESS_L + LAYER_L) |
#define | NICEMEMBERMESSAGE_L(msg) (NICEMESSAGE_L(msg) + (msg->getMembersArraySize() * TRANSPORTADDRESS_L)) |
#define | NICECLUSTERMERGE_L(msg) (NICEMEMBERMESSAGE_L(msg) + TRANSPORTADDRESS_L) |
#define | NICEHEARTBEAT_L(msg) (NICEMEMBERMESSAGE_L(msg) + (msg->getDistancesArraySize() * SIMTIME_L) + INT_L + INT_L + SIMTIME_L + INT_L) |
#define | NICELEADERHEARTBEAT_L(msg) (NICEHEARTBEAT_L(msg) + TRANSPORTADDRESS_L + (msg->getSupercluster_membersArraySize() * TRANSPORTADDRESS_L) + INT_L) |
#define | NICEMULTICAST_L(msg) (NICEMESSAGE_L(msg) + TRANSPORTADDRESS_L + DOUBLE_L + INT_L + INT_L) |
Enumerations | |
enum | NICECommand { NICE_QUERY = 0, NICE_QUERY_RESPONSE = 1, NICE_JOIN_CLUSTER = 2, NICE_HEARTBEAT = 3, NICE_LEADERHEARTBEAT = 4, NICE_LEADERTRANSFER = 5, NICE_JOINEVAL = 6, NICE_JOINEVAL_RESPONSE = 7, NICE_REMOVE = 8, NICE_PING_PROBE = 9, NICE_PING_PROBE_RESPONSE = 10, NICE_CLUSTER_MERGE_REQUEST = 11, NICE_PEER_TEMPORARY = 12, NICE_PEER_TEMPORARY_RELEASE = 13, NICE_POLL_RP = 14, NICE_POLL_RP_RESPONSE = 15, NICE_FORCE_MERGE = 16, NICE_MULTICAST = 17 } |
Enum generated from overlay/nice/NiceMessage.msg by opp_msgc. More... |
Functions | |
void | doPacking (cCommBuffer *b, NiceMessage &obj) |
void | doUnpacking (cCommBuffer *b, NiceMessage &obj) |
void | doPacking (cCommBuffer *b, NiceMemberMessage &obj) |
void | doUnpacking (cCommBuffer *b, NiceMemberMessage &obj) |
void | doPacking (cCommBuffer *b, NiceClusterMerge &obj) |
void | doUnpacking (cCommBuffer *b, NiceClusterMerge &obj) |
void | doPacking (cCommBuffer *b, NiceHeartbeat &obj) |
void | doUnpacking (cCommBuffer *b, NiceHeartbeat &obj) |
void | doPacking (cCommBuffer *b, NiceLeaderHeartbeat &obj) |
void | doUnpacking (cCommBuffer *b, NiceLeaderHeartbeat &obj) |
void | doPacking (cCommBuffer *b, NiceMulticastMessage &obj) |
void | doUnpacking (cCommBuffer *b, NiceMulticastMessage &obj) |
Variables | |
static const int | NICECOMMAND_L = 8 |
static const int | LAYER_L = 16 |
static const int | INT_L = 32 |
static const int | SIMTIME_L = 32 |
static const int | BOOL_L = 8 |
static const int | DOUBLE_L = 64 |
static const int | SHORT_L = 16 |
#define MSGC_VERSION 0x0402 |
Definition at line 11 of file NiceMessage_m.h.
#define NICECLUSTERMERGE_L | ( | msg | ) | (NICEMEMBERMESSAGE_L(msg) + TRANSPORTADDRESS_L) |
Definition at line 32 of file NiceMessage_m.h.
Referenced by oversim::Nice::ClusterMergeRequest().
#define NICEHEARTBEAT_L | ( | msg | ) | (NICEMEMBERMESSAGE_L(msg) + (msg->getDistancesArraySize() * SIMTIME_L) + INT_L + INT_L + SIMTIME_L + INT_L) |
Definition at line 33 of file NiceMessage_m.h.
Referenced by oversim::Nice::sendHeartbeats(), and oversim::Nice::sendHeartbeatTo().
#define NICELEADERHEARTBEAT_L | ( | msg | ) | (NICEHEARTBEAT_L(msg) + TRANSPORTADDRESS_L + (msg->getSupercluster_membersArraySize() * TRANSPORTADDRESS_L) + INT_L) |
Definition at line 34 of file NiceMessage_m.h.
Referenced by oversim::Nice::LeaderTransfer(), oversim::Nice::sendHeartbeats(), and oversim::Nice::sendHeartbeatTo().
#define NICEMEMBERMESSAGE_L | ( | msg | ) | (NICEMESSAGE_L(msg) + (msg->getMembersArraySize() * TRANSPORTADDRESS_L)) |
Definition at line 31 of file NiceMessage_m.h.
Referenced by oversim::Nice::handleNiceQuery().
#define NICEMESSAGE_L | ( | msg | ) | (BASEOVERLAY_L(msg) + NICECOMMAND_L + TRANSPORTADDRESS_L + LAYER_L) |
Definition at line 30 of file NiceMessage_m.h.
Referenced by oversim::Nice::BasicJoinLayer(), oversim::Nice::checkLeaderHeartbeatsForCollisions(), oversim::Nice::handleNiceJoineval(), oversim::Nice::handleNicePingProbe(), oversim::Nice::handleNicePollRp(), oversim::Nice::handleNiceQueryResponse(), oversim::Nice::JoinCluster(), oversim::Nice::pollRP(), oversim::Nice::Query(), oversim::Nice::Remove(), oversim::Nice::sendHeartbeats(), and oversim::Nice::sendRemoveTo().
#define NICEMULTICAST_L | ( | msg | ) | (NICEMESSAGE_L(msg) + TRANSPORTADDRESS_L + DOUBLE_L + INT_L + INT_L) |
Definition at line 35 of file NiceMessage_m.h.
Referenced by oversim::Nice::handleAppMessage().
Definition at line 20 of file NiceMessage_m.h.
enum NICECommand |
Enum generated from overlay/nice/NiceMessage.msg
by opp_msgc.
enum NICECommand { NICE_QUERY = 0; NICE_QUERY_RESPONSE = 1; NICE_JOIN_CLUSTER = 2; NICE_HEARTBEAT = 3; NICE_LEADERHEARTBEAT = 4; NICE_LEADERTRANSFER = 5; NICE_JOINEVAL = 6; NICE_JOINEVAL_RESPONSE = 7; NICE_REMOVE = 8; NICE_PING_PROBE = 9; NICE_PING_PROBE_RESPONSE = 10; NICE_CLUSTER_MERGE_REQUEST = 11; NICE_PEER_TEMPORARY = 12; NICE_PEER_TEMPORARY_RELEASE = 13; NICE_POLL_RP = 14; NICE_POLL_RP_RESPONSE = 15; NICE_FORCE_MERGE = 16; NICE_MULTICAST = 17; }
Definition at line 66 of file NiceMessage_m.h.
|
inline |
Definition at line 131 of file NiceMessage_m.h.
|
inline |
Definition at line 173 of file NiceMessage_m.h.
|
inline |
Definition at line 212 of file NiceMessage_m.h.
|
inline |
Definition at line 273 of file NiceMessage_m.h.
|
inline |
Definition at line 328 of file NiceMessage_m.h.
|
inline |
Definition at line 379 of file NiceMessage_m.h.
|
inline |
Definition at line 132 of file NiceMessage_m.h.
|
inline |
Definition at line 174 of file NiceMessage_m.h.
|
inline |
Definition at line 213 of file NiceMessage_m.h.
|
inline |
Definition at line 274 of file NiceMessage_m.h.
|
inline |
Definition at line 329 of file NiceMessage_m.h.
|
inline |
Definition at line 380 of file NiceMessage_m.h.
|
static |
Definition at line 26 of file NiceMessage_m.h.
|
static |
Definition at line 27 of file NiceMessage_m.h.
|
static |
Definition at line 24 of file NiceMessage_m.h.
|
static |
Definition at line 23 of file NiceMessage_m.h.
|
static |
Definition at line 22 of file NiceMessage_m.h.
|
static |
Definition at line 28 of file NiceMessage_m.h.
|
static |
Definition at line 25 of file NiceMessage_m.h.