Message PastryStateMessage

File: Overlay/Pastry/PastryMessage.msg

Message used to send a PastryState

Inheritance diagram:

The following diagram shows part of the inheritance hierarchy. Unresolved types are missing from the diagram. Click here to see the full picture.

Extends:

PastryMessage

Base message for all messages used by Pastry

Fields:

Name Type Description
pastryStateMsgType int

the type of the PastryStateMessage

sender NodeHandle

NodeHandle of the node sending this message

routingTable NodeHandle[]

the routingTable of the sender

leafSet NodeHandle[]

the leafSet of the sender

neighborhoodSet NodeHandle[]

the neighborhoodSet of the sender

joinHopCount int

counts the hops this message takes

lastHop bool

is this node the destination node?

timestamp simtime_t

simTime when sending this message

Source code:

message PastryStateMessage extends PastryMessage
{
    fields:
        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
};