Searched refs:msg_attributes (Results 1 – 2 of 2) sorted by relevance
121 def _create_message(self, data, msg_attributes): argument132 if msg_attributes:133 message['attributes'] = msg_attributes146 msg_attributes = {}147 msg_attributes[_get_attribute_name(cpcon.ATTR_MESSAGE_TYPE)] = (149 msg_attributes[_get_attribute_name(cpcon.ATTR_MESSAGE_VERSION)] = (151 msg_attributes[_get_attribute_name(cpcon.ATTR_MOBLAB_MAC_ADDRESS)] = (153 msg_attributes[_get_attribute_name(cpcon.ATTR_MOBLAB_ID)] = (155 return msg_attributes166 msg_attributes = {}[all …]
70 msg_attributes = {}71 msg_attributes['var'] = 'value'72 msg_payload['attributes'] = msg_attributes