def __init__(self, client_id, parameters=None):
    self.parameters = parameters
    Protocol.__init__(self, client_id)
    for capability_class in self.rosbridge_capabilities:
        self.add_capability(capability_class)
def __init__(self, client_id, parameters=None):
    self.parameters = parameters
    Protocol.__init__(self, client_id)
    for capability_class in self.rosbridge_capabilities:
        self.add_capability(capability_class)