Message used to send a PastryState
The following diagram shows usage relationships between types.
Unresolved types are missing from the diagram.
The following diagram shows inheritance relationships for this type.
Unresolved types are missing from the diagram.
PastryMessage (packet) |
Base message for all messages used by Pastry |
Name | Type | Description |
---|---|---|
sender | NodeHandle |
NodeHandle of the node sending this message |
timestamp | simtime_t |
simTime when sending this message |
joinHopCount | int |
counts the hops this message takes |
statType | int |
message type for stats |
pastryStateMsgType | int |
the type of the PastryStateMessage |
routingTable | NodeHandle[] |
the routingTable of the sender |
leafSet | NodeHandle[] |
the leafSet of the sender |
pastryMsgType | int |
the PastryMsgType |
type | int |
message type |
lastHop | bool |
is this node the destination node? |
neighborhoodSet | NodeHandle[] |
the neighborhoodSet of the sender |
// // Message used to send a PastryState // packet PastryStateMessage extends PastryMessage { int pastryStateMsgType = PASTRY_STATE_STD; // the type of the PastryStateMessage NodeHandle sender = NodeHandle::UNSPECIFIED_NODE; // NodeHandle of the node sending this message NodeHandle routingTable[]; // the routingTable of the sender NodeHandle leafSet[]; // the leafSet of the sender NodeHandle neighborhoodSet[]; // the neighborhoodSet of the sender int joinHopCount = 0; // counts the hops this message takes bool lastHop = false; // is this node the destination node? simtime_t timestamp; // simTime when sending this message }