def __init__(self, service):
    self.service = service
    self.namespace = service.get_type()
    self.url = service.get_control_url()
    self.service.subscribe()
    self.service.client = self
def __init__(self, service):
    self.service = service
    self.namespace = service.get_type()
    self.url = service.get_control_url()
    self.service.subscribe()
    self.service.client = self