#include <omnetpp.h>#include <CommonMessages_m.h>#include "ScribeGroup.h"Go to the source code of this file.
Classes | |
| class | ScribeJoinCall |
Class generated from applications/scribe/ScribeMessage.msg by opp_msgc. More... | |
| class | ScribeJoinResponse |
Class generated from applications/scribe/ScribeMessage.msg by opp_msgc. More... | |
| class | ScribePublishCall |
Class generated from applications/scribe/ScribeMessage.msg by opp_msgc. More... | |
| class | ScribePublishResponse |
Class generated from applications/scribe/ScribeMessage.msg by opp_msgc. More... | |
| class | ScribeSubscriptionRefreshMessage |
Class generated from applications/scribe/ScribeMessage.msg by opp_msgc. More... | |
| class | ScribeLeaveMessage |
Class generated from applications/scribe/ScribeMessage.msg by opp_msgc. More... | |
| class | ScribeTimer |
Class generated from applications/scribe/ScribeMessage.msg by opp_msgc. More... | |
| class | ScribeDataMessage |
Class generated from applications/scribe/ScribeMessage.msg by opp_msgc. More... | |
Defines | |
| #define | MSGC_VERSION 0x0401 |
| #define | SCRIBE_JOINCALL_L(msg) (BASECALL_L(msg)) |
| #define | SCRIBE_JOINRESPONSE_L(msg) (BASECALL_L(msg)) |
| #define | SCRIBE_PUBLISHCALL_L(msg) (BASECALL_L(msg)) |
| #define | SCRIBE_PUBLISHRESPONSE_L(msg) (BASECALL_L(msg) + SCRIBE_WRONGROOT_L) |
| #define | SCRIBE_SUBSCRIPTIONREFRESH_L(msg) (NODEHANDLE_L + KEY_L) |
| #define | SCRIBE_LEAVE_L(msg) (NODEHANDLE_L + KEY_L) |
| #define | SCRIBE_DATA_L(msg) (KEY_L + SCRIBE_EMPTYFLAG_L) |
Enumerations | |
| enum | ScribeTimerType { SCRIBE_HEARTBEAT = 0, SCRIBE_SUBSCRIPTION_REFRESH = 1, SCRIBE_PARENT_TIMEOUT = 2, SCRIBE_CHILD_TIMEOUT = 3 } |
Enum generated from | |
Functions | |
| void | doPacking (cCommBuffer *b, ScribeJoinCall &obj) |
| void | doUnpacking (cCommBuffer *b, ScribeJoinCall &obj) |
| void | doPacking (cCommBuffer *b, ScribeJoinResponse &obj) |
| void | doUnpacking (cCommBuffer *b, ScribeJoinResponse &obj) |
| void | doPacking (cCommBuffer *b, ScribePublishCall &obj) |
| void | doUnpacking (cCommBuffer *b, ScribePublishCall &obj) |
| void | doPacking (cCommBuffer *b, ScribePublishResponse &obj) |
| void | doUnpacking (cCommBuffer *b, ScribePublishResponse &obj) |
| void | doPacking (cCommBuffer *b, ScribeSubscriptionRefreshMessage &obj) |
| void | doUnpacking (cCommBuffer *b, ScribeSubscriptionRefreshMessage &obj) |
| void | doPacking (cCommBuffer *b, ScribeLeaveMessage &obj) |
| void | doUnpacking (cCommBuffer *b, ScribeLeaveMessage &obj) |
| void | doPacking (cCommBuffer *b, ScribeTimer &obj) |
| void | doUnpacking (cCommBuffer *b, ScribeTimer &obj) |
| void | doPacking (cCommBuffer *b, ScribeDataMessage &obj) |
| void | doUnpacking (cCommBuffer *b, ScribeDataMessage &obj) |
Variables | |
| static const int | SCRIBE_WRONGROOT_L = 8 |
| static const int | SCRIBE_EMPTYFLAG_L = 8 |
| #define MSGC_VERSION 0x0401 |
Definition at line 11 of file ScribeMessage_m.h.
| #define SCRIBE_DATA_L | ( | msg | ) | (KEY_L + SCRIBE_EMPTYFLAG_L) |
Definition at line 35 of file ScribeMessage_m.h.
Referenced by Scribe::deliverALMDataToRoot(), and Scribe::handleTimerEvent().
| #define SCRIBE_JOINCALL_L | ( | msg | ) | (BASECALL_L(msg)) |
Definition at line 28 of file ScribeMessage_m.h.
Referenced by Scribe::handleJoinMessage(), Scribe::handleTimerEvent(), Scribe::subscribeToGroup(), and Scribe::update().
| #define SCRIBE_JOINRESPONSE_L | ( | msg | ) | (BASECALL_L(msg)) |
Definition at line 29 of file ScribeMessage_m.h.
Referenced by Scribe::handleJoinMessage().
| #define SCRIBE_LEAVE_L | ( | msg | ) | (NODEHANDLE_L + KEY_L) |
Definition at line 34 of file ScribeMessage_m.h.
Referenced by Scribe::checkGroupEmpty().
| #define SCRIBE_PUBLISHCALL_L | ( | msg | ) | (BASECALL_L(msg)) |
Definition at line 30 of file ScribeMessage_m.h.
Referenced by Scribe::deliverALMDataToRoot().
| #define SCRIBE_PUBLISHRESPONSE_L | ( | msg | ) | (BASECALL_L(msg) + SCRIBE_WRONGROOT_L) |
Definition at line 31 of file ScribeMessage_m.h.
Referenced by Scribe::handlePublishCall().
| #define SCRIBE_SUBSCRIPTIONREFRESH_L | ( | msg | ) | (NODEHANDLE_L + KEY_L) |
Definition at line 33 of file ScribeMessage_m.h.
Referenced by Scribe::handleTimerEvent().
| enum ScribeTimerType |
Enum generated from applications/scribe/ScribeMessage.msg by opp_msgc.
enum ScribeTimerType
{ SCRIBE_HEARTBEAT = 0;
SCRIBE_SUBSCRIPTION_REFRESH = 1;
SCRIBE_PARENT_TIMEOUT = 2;
SCRIBE_CHILD_TIMEOUT = 3;
}
Definition at line 53 of file ScribeMessage_m.h.
{
SCRIBE_HEARTBEAT = 0,
SCRIBE_SUBSCRIPTION_REFRESH = 1,
SCRIBE_PARENT_TIMEOUT = 2,
SCRIBE_CHILD_TIMEOUT = 3
};
| void doPacking | ( | cCommBuffer * | b, | |
| ScribeJoinCall & | obj | |||
| ) | [inline] |
Definition at line 93 of file ScribeMessage_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| ScribePublishCall & | obj | |||
| ) | [inline] |
Definition at line 165 of file ScribeMessage_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| ScribeDataMessage & | obj | |||
| ) | [inline] |
Definition at line 368 of file ScribeMessage_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| ScribeSubscriptionRefreshMessage & | obj | |||
| ) | [inline] |
Definition at line 245 of file ScribeMessage_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| ScribeLeaveMessage & | obj | |||
| ) | [inline] |
Definition at line 285 of file ScribeMessage_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| ScribeJoinResponse & | obj | |||
| ) | [inline] |
Definition at line 129 of file ScribeMessage_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| ScribeTimer & | obj | |||
| ) | [inline] |
Definition at line 329 of file ScribeMessage_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| ScribePublishResponse & | obj | |||
| ) | [inline] |
Definition at line 205 of file ScribeMessage_m.h.
{obj.parsimPack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| ScribeJoinResponse & | obj | |||
| ) | [inline] |
Definition at line 130 of file ScribeMessage_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| ScribePublishResponse & | obj | |||
| ) | [inline] |
Definition at line 206 of file ScribeMessage_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| ScribeJoinCall & | obj | |||
| ) | [inline] |
Definition at line 94 of file ScribeMessage_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| ScribeLeaveMessage & | obj | |||
| ) | [inline] |
Definition at line 286 of file ScribeMessage_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| ScribeTimer & | obj | |||
| ) | [inline] |
Definition at line 330 of file ScribeMessage_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| ScribeDataMessage & | obj | |||
| ) | [inline] |
Definition at line 369 of file ScribeMessage_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| ScribeSubscriptionRefreshMessage & | obj | |||
| ) | [inline] |
Definition at line 246 of file ScribeMessage_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| ScribePublishCall & | obj | |||
| ) | [inline] |
Definition at line 166 of file ScribeMessage_m.h.
{obj.parsimUnpack(b);}
const int SCRIBE_EMPTYFLAG_L = 8 [static] |
Definition at line 25 of file ScribeMessage_m.h.
const int SCRIBE_WRONGROOT_L = 8 [static] |
Definition at line 24 of file ScribeMessage_m.h.
1.7.1