MCPcopy Create free account
hub / github.com/apache/qpid-proton / _post_decode

Method _post_decode

python/proton/_message.py:139–160  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

137 body.put_object(self.body)
138
139 def _post_decode(self) -> None:
140 inst = Data(pn_message_instructions(self._msg))
141 ann = Data(pn_message_annotations(self._msg))
142 props = Data(pn_message_properties(self._msg))
143 body = Data(pn_message_body(self._msg))
144
145 if inst.next():
146 self.instructions = inst.get_object()
147 else:
148 self.instructions = None
149 if ann.next():
150 self.annotations = ann.get_object()
151 else:
152 self.annotations = None
153 if props.next():
154 self.properties = props.get_object()
155 else:
156 self.properties = None
157 if body.next():
158 self.body = body.get_object()
159 else:
160 self.body = None
161
162 def clear(self) -> None:
163 """

Callers 1

decodeMethod · 0.95

Calls 7

nextMethod · 0.95
get_objectMethod · 0.95
pn_message_instructionsFunction · 0.85
pn_message_annotationsFunction · 0.85
pn_message_propertiesFunction · 0.85
pn_message_bodyFunction · 0.85
DataClass · 0.70

Tested by

no test coverage detected