#include <omnetpp.h>#include <CommonMessages_m.h>#include <NodeHandle.h>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... | |
Defines | |
| #define | MSGC_VERSION 0x0401 |
| #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 | |
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 0x0401 |
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::Query(), oversim::Nice::Remove(), and oversim::Nice::sendHeartbeats().
| #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.
{
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
};
| void doPacking | ( | cCommBuffer * | b, | |
| NiceMessage & | obj | |||
| ) | [inline] |
Definition at line 127 of file NiceMessage_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| NiceClusterMerge & | obj | |||
| ) | [inline] |
Definition at line 200 of file NiceMessage_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| NiceLeaderHeartbeat & | obj | |||
| ) | [inline] |
Definition at line 308 of file NiceMessage_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| NiceMulticastMessage & | obj | |||
| ) | [inline] |
Definition at line 355 of file NiceMessage_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| NiceMemberMessage & | obj | |||
| ) | [inline] |
Definition at line 165 of file NiceMessage_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| NiceHeartbeat & | obj | |||
| ) | [inline] |
Definition at line 257 of file NiceMessage_m.h.
{obj.parsimPack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| NiceMemberMessage & | obj | |||
| ) | [inline] |
Definition at line 166 of file NiceMessage_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| NiceClusterMerge & | obj | |||
| ) | [inline] |
Definition at line 201 of file NiceMessage_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| NiceMessage & | obj | |||
| ) | [inline] |
Definition at line 128 of file NiceMessage_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| NiceMulticastMessage & | obj | |||
| ) | [inline] |
Definition at line 356 of file NiceMessage_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| NiceHeartbeat & | obj | |||
| ) | [inline] |
Definition at line 258 of file NiceMessage_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| NiceLeaderHeartbeat & | obj | |||
| ) | [inline] |
Definition at line 309 of file NiceMessage_m.h.
{obj.parsimUnpack(b);}
const int BOOL_L = 8 [static] |
Definition at line 26 of file NiceMessage_m.h.
const int DOUBLE_L = 64 [static] |
Definition at line 27 of file NiceMessage_m.h.
const int INT_L = 32 [static] |
Definition at line 24 of file NiceMessage_m.h.
const int LAYER_L = 16 [static] |
Definition at line 23 of file NiceMessage_m.h.
const int NICECOMMAND_L = 8 [static] |
Definition at line 22 of file NiceMessage_m.h.
const int SHORT_L = 16 [static] |
Definition at line 28 of file NiceMessage_m.h.
const int SIMTIME_L = 32 [static] |
Definition at line 25 of file NiceMessage_m.h.
1.7.1