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

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)
Checks to see if we were in opening a connection with RabbitMQ when
we were disconnected and raises exceptions for the anticipated
exception types.

src/c/a/captain-HEAD/vendor/lib/python/pika/adapters/blocking_connection.py   captain(Download)
            self.socket.close()
        self.socket = None
        self._check_state_on_disconnect()
        self._init_connection_state()
 

src/p/i/pika-0.9.13/pika/adapters/blocking_connection.py   pika(Download)
            self.socket.close()
        self.socket = None
        self._check_state_on_disconnect()
        self._init_connection_state()
 

src/p/i/pika-HEAD/pika/adapters/blocking_connection.py   pika(Download)
    def _adapter_disconnect(self):
        """Called if the connection is being requested to disconnect."""
        self.disconnect()
        self._check_state_on_disconnect()