List of messages
Return route
This will be set on envelopes received by .on(
delivery)
if envelope.setFlag('TRACK_ROUTE')
was called before
sending the envelope.
The returnRoute can then be used after reception to send back a reply if needed.
Appends a message part to the envelope
Removes a route part from the start of the route, if the value matches, or empties the entire route if the given identity is undefined
Returns the final address in the route
Retrieves the flags's string representation
Returns the final portion of the return route
This identifies the node on which the original sender resides.
Returns true if this envelope tracks and contains the sender's route, false otherwise
Prepends a route to the existing envelope route
Prepends a route to the existing return route
True if a flag is set
Returns true if the route has not been fully consumed, false otherwise
Set a flag value
Sets the message part(s) of the envelope
The event name is what one will listen to, but prefixed with 'delivery.'. Example:
mmrpNode.on('delivery.MyEventName', (...args) => console.log(...args))
Set the return route for this message
Used whenever a reply is required
Sets the route that the envelope needs to take to reach its destination
MMRP Envelopes are used to encapsulate data to be sent between MAGE nodes.
MmrpEnvelope