Coverage for ion/core/messaging/ionmessage : 100.00%
Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
|
#!/usr/bin/env python
@file ion/core/intercept/ionmessage.py @author Michael Meisinger @brief base classes for the common ION message format """
""" Interceptor that assembles the headers in the ION message format. """
# The following headers are FIPA ACL Message Format based # Exchange name of sender (DO NOT SEND replies here) # Exchange name of message recipient # Exchange name for message replies # Wire form encoding, such as 'json', 'fudge', 'XDR', 'XML', 'custom' # See ion.data.dataobject Serializers for choices #msg['accept-encoding'] = headers.get('accept-encoding','') # Language of the format specification # Identifier of a registered format specification (i.e. message schema) # Ontology associated with the content of the message # OOI User id # Lifespan of user authority # Conversation instance id # Conversation message sequence number # Conversation type id # Status code # Local timestamp in ms #msg['reply-with'] = '' #msg['in-reply-to'] = '' #msg['reply-by'] = '' # Performative of the message # Operation = Action request of the message # The actual content
|