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

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Disconnect from RabbitMQ. If there are any open channels, it will
attempt to close them prior to fully disconnecting. Channels which
have active consumers will attempt to send a Basic.Cancel to RabbitMQ
to cleanly stop the delivery of messages prior to closing the channel.

:param int reply_code: The code number for the close
:param str reply_text: The text reason for the close

src/p/i/Piped-HEAD/contrib/amqp/piped_amqp/providers.py   Piped(Download)
 
        if self.connection_state not in (connection.CONNECTION_CLOSED, connection.CONNECTION_CLOSING):
            self.close(320, 'Too long without data transferred.')
            self.transport.loseConnection()
 

src/p/i/piped.contrib.amqp-0.4.0/piped_amqp/providers.py   piped.contrib.amqp(Download)
 
        if self.connection_state not in (connection.CONNECTION_CLOSED, connection.CONNECTION_CLOSING):
            self.close(320, 'Too long without data transferred.')
            self.transport.loseConnection()