#include <omnetpp.h>#include <IPvXAddress.h>#include <NodeHandle.h>#include <OverlayKey.h>#include <CommonMessages_m.h>Go to the source code of this file.
Classes | |
| class | PastryMessage |
Class generated from overlay/pastry/PastryMessage.msg by opp_msgc. More... | |
| class | PastryJoinMessage |
Class generated from overlay/pastry/PastryMessage.msg by opp_msgc. More... | |
| class | PastryStateMessage |
Class generated from overlay/pastry/PastryMessage.msg by opp_msgc. More... | |
| class | PastryFindNodeExtData |
Class generated from overlay/pastry/PastryMessage.msg by opp_msgc. More... | |
| class | PastryNewLeafsMessage |
Class generated from overlay/pastry/PastryMessage.msg by opp_msgc. More... | |
| class | PastrySendState |
Class generated from overlay/pastry/PastryMessage.msg by opp_msgc. More... | |
| class | PastryLeafsetMessage |
Class generated from overlay/pastry/PastryMessage.msg by opp_msgc. More... | |
| class | PastryRoutingRowRequestMessage |
Class generated from overlay/pastry/PastryMessage.msg by opp_msgc. More... | |
| class | PastryRoutingRowMessage |
Class generated from overlay/pastry/PastryMessage.msg by opp_msgc. More... | |
| class | PastryRequestMessage |
Class generated from overlay/pastry/PastryMessage.msg by opp_msgc. More... | |
Defines | |
| #define | MSGC_VERSION 0x0401 |
| #define | PASTRY_L(msg) (BASEOVERLAY_L(msg) + PASTRYTYPE_L) |
| #define | PASTRYJOIN_L(msg) (PASTRY_L(msg) + TRANSPORTADDRESS_L + HOPCOUNT_L) |
| #define | PASTRYREQ_L(msg) (PASTRY_L(msg) + TRANSPORTADDRESS_L + PASTRYREQUESTTYPE_L) |
| #define | PASTRYSTATE_L(msg) |
| #define | PASTRYNEWLEAFS_L(msg) |
| #define | PASTRYLEAFSET_L(msg) |
| #define | PASTRYRTREQ_L(msg) (PASTRY_L(msg) + TRANSPORTADDRESS_L) |
| #define | PASTRYRTABLE_L(msg) |
Enumerations | |
| enum | PastryMsgType { PASTRY_MSG_STD = 0, PASTRY_MSG_JOIN = 1, PASTRY_MSG_STATE = 2, PASTRY_MSG_REQ = 3, PASTRY_MSG_LEAFSET = 4, PASTRY_MSG_ROWREQ = 5, PASTRY_MSG_RROW = 6, PASTRY_MSG_LEAFSET_PULL = 7, PASTRY_REQ_REPAIR = 8, PASTRY_REQ_STATE = 9, PASTRY_REQ_LEAFSET = 10 } |
Enum generated from | |
| enum | PastryStateMsgType { PASTRY_STATE_STD = 0, PASTRY_STATE_JOIN = 1, PASTRY_STATE_MINJOIN = 2, PASTRY_STATE_UPDATE = 3, PASTRY_STATE_REPAIR = 4, PASTRY_STATE_JOINUPDATE = 5 } |
Enum generated from | |
Functions | |
| void | doPacking (cCommBuffer *b, PastryMessage &obj) |
| void | doUnpacking (cCommBuffer *b, PastryMessage &obj) |
| void | doPacking (cCommBuffer *b, PastryJoinMessage &obj) |
| void | doUnpacking (cCommBuffer *b, PastryJoinMessage &obj) |
| void | doPacking (cCommBuffer *b, PastryStateMessage &obj) |
| void | doUnpacking (cCommBuffer *b, PastryStateMessage &obj) |
| void | doPacking (cCommBuffer *b, PastryFindNodeExtData &obj) |
| void | doUnpacking (cCommBuffer *b, PastryFindNodeExtData &obj) |
| void | doPacking (cCommBuffer *b, PastryNewLeafsMessage &obj) |
| void | doUnpacking (cCommBuffer *b, PastryNewLeafsMessage &obj) |
| void | doPacking (cCommBuffer *b, PastrySendState &obj) |
| void | doUnpacking (cCommBuffer *b, PastrySendState &obj) |
| void | doPacking (cCommBuffer *b, PastryLeafsetMessage &obj) |
| void | doUnpacking (cCommBuffer *b, PastryLeafsetMessage &obj) |
| void | doPacking (cCommBuffer *b, PastryRoutingRowRequestMessage &obj) |
| void | doUnpacking (cCommBuffer *b, PastryRoutingRowRequestMessage &obj) |
| void | doPacking (cCommBuffer *b, PastryRoutingRowMessage &obj) |
| void | doUnpacking (cCommBuffer *b, PastryRoutingRowMessage &obj) |
| void | doPacking (cCommBuffer *b, PastryRequestMessage &obj) |
| void | doUnpacking (cCommBuffer *b, PastryRequestMessage &obj) |
Variables | |
| static const int | PASTRYTYPE_L = 8 |
| static const int | PASTRYSTATETYPE_L = 8 |
| static const int | PASTRYREQUESTTYPE_L = 0 |
| static const int | LASTHOPFLAG_L = 8 |
| static const int | TIMESTAMP_L = 32 |
| static const int | PASTRYFINDNODEEXTDATA_L = NODEHANDLE_L + HOPCOUNT_L |
| #define MSGC_VERSION 0x0401 |
Definition at line 11 of file PastryMessage_m.h.
| #define PASTRY_L | ( | msg | ) | (BASEOVERLAY_L(msg) + PASTRYTYPE_L) |
Definition at line 30 of file PastryMessage_m.h.
| #define PASTRYJOIN_L | ( | msg | ) | (PASTRY_L(msg) + TRANSPORTADDRESS_L + HOPCOUNT_L) |
Definition at line 31 of file PastryMessage_m.h.
Referenced by Pastry::changeState().
| #define PASTRYLEAFSET_L | ( | msg | ) |
(PASTRY_L(msg) + TRANSPORTADDRESS_L \ + NODEHANDLE_L * msg->getLeafSetArraySize() + ARRAYSIZE_L)
Definition at line 40 of file PastryMessage_m.h.
Referenced by Bamboo::changeState(), and BasePastry::sendLeafset().
| #define PASTRYNEWLEAFS_L | ( | msg | ) |
(msg->getLeafsArraySize() * NODEHANDLE_L + \ ARRAYSIZE_L)
Definition at line 38 of file PastryMessage_m.h.
Referenced by PastryLeafSet::getNewLeafsMessage().
| #define PASTRYREQ_L | ( | msg | ) | (PASTRY_L(msg) + TRANSPORTADDRESS_L + PASTRYREQUESTTYPE_L) |
Definition at line 32 of file PastryMessage_m.h.
Referenced by BasePastry::sendRequest().
| #define PASTRYRTABLE_L | ( | msg | ) |
(PASTRY_L(msg) + TRANSPORTADDRESS_L \ + NODEHANDLE_L * msg->getRoutingTableArraySize() + ARRAYSIZE_L)
Definition at line 43 of file PastryMessage_m.h.
Referenced by BasePastry::sendRoutingRow().
| #define PASTRYRTREQ_L | ( | msg | ) | (PASTRY_L(msg) + TRANSPORTADDRESS_L) |
Definition at line 42 of file PastryMessage_m.h.
Referenced by Bamboo::doLocalTuning(), Pastry::doRoutingTableMaintenance(), and Pastry::handleTimerEvent().
| #define PASTRYSTATE_L | ( | msg | ) |
(PASTRY_L(msg) + TRANSPORTADDRESS_L \ + NODEHANDLE_L * \ (msg->getRoutingTableArraySize() + msg->getLeafSetArraySize() \ + msg->getNeighborhoodSetArraySize()) + ARRAYSIZE_L + HOPCOUNT_L + \ LASTHOPFLAG_L + TIMESTAMP_L)
Definition at line 33 of file PastryMessage_m.h.
Referenced by BasePastry::sendStateTables().
| enum PastryMsgType |
Enum generated from overlay/pastry/PastryMessage.msg by opp_msgc.
enum PastryMsgType
{
PASTRY_MSG_STD = 0;
PASTRY_MSG_JOIN = 1;
PASTRY_MSG_STATE = 2;
PASTRY_MSG_REQ = 3;
PASTRY_MSG_LEAFSET = 4;
PASTRY_MSG_ROWREQ = 5;
PASTRY_MSG_RROW = 6;
PASTRY_MSG_LEAFSET_PULL = 7;
PASTRY_REQ_REPAIR = 8;
PASTRY_REQ_STATE = 9;
PASTRY_REQ_LEAFSET = 10;
}
| PASTRY_MSG_STD | |
| PASTRY_MSG_JOIN | |
| PASTRY_MSG_STATE | |
| PASTRY_MSG_REQ | |
| PASTRY_MSG_LEAFSET | |
| PASTRY_MSG_ROWREQ | |
| PASTRY_MSG_RROW | |
| PASTRY_MSG_LEAFSET_PULL | |
| PASTRY_REQ_REPAIR | |
| PASTRY_REQ_STATE | |
| PASTRY_REQ_LEAFSET |
Definition at line 68 of file PastryMessage_m.h.
{
PASTRY_MSG_STD = 0,
PASTRY_MSG_JOIN = 1,
PASTRY_MSG_STATE = 2,
PASTRY_MSG_REQ = 3,
PASTRY_MSG_LEAFSET = 4,
PASTRY_MSG_ROWREQ = 5,
PASTRY_MSG_RROW = 6,
PASTRY_MSG_LEAFSET_PULL = 7,
PASTRY_REQ_REPAIR = 8,
PASTRY_REQ_STATE = 9,
PASTRY_REQ_LEAFSET = 10
};
| enum PastryStateMsgType |
Enum generated from overlay/pastry/PastryMessage.msg by opp_msgc.
enum PastryStateMsgType
{
PASTRY_STATE_STD = 0;
PASTRY_STATE_JOIN = 1;
PASTRY_STATE_MINJOIN = 2;
PASTRY_STATE_UPDATE = 3;
PASTRY_STATE_REPAIR = 4;
PASTRY_STATE_JOINUPDATE = 5;
}
| PASTRY_STATE_STD | |
| PASTRY_STATE_JOIN | |
| PASTRY_STATE_MINJOIN | |
| PASTRY_STATE_UPDATE | |
| PASTRY_STATE_REPAIR | |
| PASTRY_STATE_JOINUPDATE |
Definition at line 96 of file PastryMessage_m.h.
{
PASTRY_STATE_STD = 0,
PASTRY_STATE_JOIN = 1,
PASTRY_STATE_MINJOIN = 2,
PASTRY_STATE_UPDATE = 3,
PASTRY_STATE_REPAIR = 4,
PASTRY_STATE_JOINUPDATE = 5
};
| void doPacking | ( | cCommBuffer * | b, | |
| PastryMessage & | obj | |||
| ) | [inline] |
Definition at line 136 of file PastryMessage_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| PastryStateMessage & | obj | |||
| ) | [inline] |
Definition at line 246 of file PastryMessage_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| PastryNewLeafsMessage & | obj | |||
| ) | [inline] |
Definition at line 323 of file PastryMessage_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| PastryRoutingRowMessage & | obj | |||
| ) | [inline] |
Definition at line 501 of file PastryMessage_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| PastryRequestMessage & | obj | |||
| ) | [inline] |
Definition at line 540 of file PastryMessage_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| PastrySendState & | obj | |||
| ) | [inline] |
Definition at line 358 of file PastryMessage_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| PastryRoutingRowRequestMessage & | obj | |||
| ) | [inline] |
Definition at line 450 of file PastryMessage_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| PastryJoinMessage & | obj | |||
| ) | [inline] |
Definition at line 171 of file PastryMessage_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| PastryLeafsetMessage & | obj | |||
| ) | [inline] |
Definition at line 410 of file PastryMessage_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| PastryFindNodeExtData & | obj | |||
| ) | [inline] |
Definition at line 285 of file PastryMessage_m.h.
{obj.parsimPack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| PastryMessage & | obj | |||
| ) | [inline] |
Definition at line 137 of file PastryMessage_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| PastryNewLeafsMessage & | obj | |||
| ) | [inline] |
Definition at line 324 of file PastryMessage_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| PastryJoinMessage & | obj | |||
| ) | [inline] |
Definition at line 172 of file PastryMessage_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| PastryRequestMessage & | obj | |||
| ) | [inline] |
Definition at line 541 of file PastryMessage_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| PastryStateMessage & | obj | |||
| ) | [inline] |
Definition at line 247 of file PastryMessage_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| PastryLeafsetMessage & | obj | |||
| ) | [inline] |
Definition at line 411 of file PastryMessage_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| PastryFindNodeExtData & | obj | |||
| ) | [inline] |
Definition at line 286 of file PastryMessage_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| PastryRoutingRowMessage & | obj | |||
| ) | [inline] |
Definition at line 502 of file PastryMessage_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| PastrySendState & | obj | |||
| ) | [inline] |
Definition at line 359 of file PastryMessage_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| PastryRoutingRowRequestMessage & | obj | |||
| ) | [inline] |
Definition at line 451 of file PastryMessage_m.h.
{obj.parsimUnpack(b);}
const int LASTHOPFLAG_L = 8 [static] |
Definition at line 26 of file PastryMessage_m.h.
const int PASTRYFINDNODEEXTDATA_L = NODEHANDLE_L + HOPCOUNT_L [static] |
Definition at line 28 of file PastryMessage_m.h.
Referenced by BasePastry::createLookup().
const int PASTRYREQUESTTYPE_L = 0 [static] |
Definition at line 25 of file PastryMessage_m.h.
const int PASTRYSTATETYPE_L = 8 [static] |
Definition at line 24 of file PastryMessage_m.h.
const int PASTRYTYPE_L = 8 [static] |
Definition at line 23 of file PastryMessage_m.h.
const int TIMESTAMP_L = 32 [static] |
Definition at line 27 of file PastryMessage_m.h.
1.7.1