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

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Called when the connection is closed remotely. The from_adapter value
will be true if the connection adapter has been disconnected from
the broker and the method was invoked directly instead of by receiving
a Connection.Close frame.

:param pika.frame.Method: The Connection.Close frame
:param bool from_adapter: Called by the connection adapter

src/o/p/openquake-packages-HEAD/pika-0.9.5/pika/adapters/base_connection.py   openquake-packages(Download)
 
        # Close up our Connection state
        self._on_connection_closed(None, True)
 
    def _handle_error(self, error):

src/c/a/captain-HEAD/vendor/lib/python/pika/adapters/base_connection.py   captain(Download)
    def _handle_disconnect(self):
        """Called internally when the socket is disconnected already
        """
        self._adapter_disconnect()
        self._on_connection_closed(None, True)

src/p/i/pika-0.9.13/pika/adapters/base_connection.py   pika(Download)
    def _handle_disconnect(self):
        """Called internally when the socket is disconnected already
        """
        self._adapter_disconnect()
        self._on_connection_closed(None, True)

src/p/i/pika-HEAD/pika/adapters/base_connection.py   pika(Download)
    def _handle_disconnect(self):
        """Called internally when the socket is disconnected already
        """
        self._adapter_disconnect()
        self._on_connection_closed(None, True)