示例#1
0
 def _set_ttl(self, value):
     self._check(pn_message_set_ttl(self._msg, secs2millis(value)))
示例#2
0
 def ttl(self, value: Union[float, int]) -> None:
     self._check(pn_message_set_ttl(self._msg, secs2millis(value)))