[edit]
MMP Variables
These are the most mandatory variables that are defined for the routing protocol in PSYC, called MMP variables.
- _source - The source entity uniform the packet comes from.
- _target - The recipient entity.
- _context - The context (a chatroom, a newsroom, a presence subscription or other group or channel).
- _length - The length of the content part of a Packet.
- _source_relay - The original sender of a message. Eg. set to the participants uniform when a group relays messages to it's participants.
- _source_identification - The UNI, uniform of the source's identification (if applicable). This is used for example when a client wants to speak for his identification, e.g. psyc://localhost:-21345 wants to speak in the name of psyc://goodadvice.pages.de/~heldensaga.
- _source_location - The UNL, uniform of the source's location (if applicable). This might be the client in question and provides a hint on where to send messages to directly without going through the identification.
- _tag - A tag that should be refered to when this message is replied to or forwarded. The tags can be used to associate replies to their original requests. (Implementations might use callbacks to signal a response to a request).
- _tag_relay - The original tag of the message this message is a reply to or forward of.