Esempio n. 1
0
    def pending(self) -> int:
        """
        Get the number of pending output bytes following the transport's
        head pointer.

        :return: The number of pending output bytes.
        :raise: :exc:`TransportException` if there is any Proton error.
        """
        p = pn_transport_pending(self._impl)
        if p >= PN_EOS:
            return p
        else:
            return self._check(p)
Esempio n. 2
0
 def pending(self):
     p = pn_transport_pending(self._impl)
     if p >= PN_EOS:
         return p
     else:
         return self._check(p)
Esempio n. 3
0
 def pending(self):
     p = pn_transport_pending(self._impl)
     if p >= PN_EOS:
         return p
     else:
         return self._check(p)