def _set_ttl(self, value): self._check(pn_message_set_ttl(self._msg, secs2millis(value)))
def ttl(self, value: Union[float, int]) -> None: self._check(pn_message_set_ttl(self._msg, secs2millis(value)))
def _set_ttl(self, value): self._check(pn_message_set_ttl(self._msg, secs2millis(value)))
def ttl(self, value: Union[float, int]) -> None: self._check(pn_message_set_ttl(self._msg, secs2millis(value)))