def _set_priority(self, value): self._check(pn_message_set_priority(self._msg, value))
def priority(self, value: int) -> None: self._check(pn_message_set_priority(self._msg, value))
def _set_priority(self, value): self._check(pn_message_set_priority(self._msg, value))
def priority(self, value: int) -> None: self._check(pn_message_set_priority(self._msg, value))