pyngus/connection.py
def reject_sender(self, link_handle, pn_condition=None):
        """Rejects the SenderLink, and destroys the handle."""
        link = self._sender_links.get(link_handle)
        if not link:
            raise Exception("Invalid link_handle: %s" % link_handle)
        link.reject(pn_condition)
        # note: normally, link.destroy() cannot be called from a callback,
        # but this link was never made available to the application so this
        # link is only referenced by the connection
        link.destroy()
def reject_sender(self, link_handle, pn_condition=None):
        link = self._sender_links.get(link_handle)
        if not link:
            raise Exception("Invalid link_handle: %s" % link_handle)
        link.reject(pn_condition)
        # note: normally, link.destroy() cannot be called from a callback,
        # but this link was never made available to the application so this
        # link is only referenced by the connection
        link.destroy()
def reject_sender ( self , link_handle , pn_condition = None ) : link = self . _sender_links . get ( link_handle ) if not link : raise Exception ( "Invalid link_handle: %s" % link_handle ) link . reject ( pn_condition ) # note: normally, link.destroy() cannot be called from a callback, # but this link was never made available to the application so this # link is only referenced by the connection link . destroy ( )
Rejects the SenderLink, and destroys the handle.
Rejects the SenderLink and destroys the handle .