Example #1
0
 def __init__(self, hosts, queue, *args, **kwargs):
     """
     @param hosts: List of hosts, will be passed directly to
                   YamClient.__init__.
     @param queue: Anything that conforms to DeferredQueue's interface.
     """
     self.queue = queue
     self.connectingDeferred = None
     YamClient.__init__(self, hosts, *args, **kwargs)