Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Close the open channels with the specified reply_code and reply_text.

:param int reply_code: The code for why the channels are being closed
:param str reply_text: The text reason for why the channels are closing

src/c/a/captain-HEAD/vendor/lib/python/pika/adapters/blocking_connection.py   captain(Download)
        self._remove_connection_callbacks()
        if self._has_open_channels:
            self._close_channels(reply_code, reply_text)
        while self._has_open_channels:
            self.process_data_events()

src/p/i/pika-0.9.13/pika/adapters/blocking_connection.py   pika(Download)
        self._remove_connection_callbacks()
        if self._has_open_channels:
            self._close_channels(reply_code, reply_text)
        while self._has_open_channels:
            self.process_data_events()