Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(2)  |  Import(0)

src/c/l/cloudbase-init-HEAD/cloudbaseinit/openstack/common/rpc/impl_zmq.py   cloudbase-init(Download)
class Connection(rpc_common.Connection):
    """Manages connections and threads."""
 
    def __init__(self, conf):
        self.topics = []

src/c/l/cloudbase-init-HEAD/cloudbaseinit/openstack/common/rpc/amqp.py   cloudbase-init(Download)
class ConnectionContext(rpc_common.Connection):
    """The class that is actually returned to the create_connection() caller.
 
    This is essentially a wrapper around Connection that supports 'with'.
    It can also return a new Connection, or one from a pool.