def create():
    c = ControlPoint()
    c.subscribe('new_device_event', on_new_device)
    c.subscribe('removed_device_event', on_removed_device)
    return c
Beispiel #2
0
 def __init__(self):
     ControlPoint.__init__(self)
     self.subscribe('new_device_event', self.device_found)
def create():
    c = ControlPoint()
    c.subscribe('new_device_event', on_new_device)
    c.subscribe('removed_device_event', on_removed_device)
    return c
Beispiel #4
0
 def __init__(self):
   ControlPoint.__init__(self)
   self.subscribe('new_device_event', self.device_found)
   self.service = 'urn:schemas-icucinema-co-uk:service:Lighting:1'
   self.utype = 'urn:schemas-icucinema-co-uk:device:LXDesk:1'
Beispiel #5
0
 def __init__(self):
   ControlPoint.__init__(self)
   self.subscribe('new_device_event', self.device_found)
   self.service = 'urn:schemas-icucinema-co-uk:service:RetractingScreen:1'
   self.utype = 'urn:schemas-icucinema-co-uk:device:RetractingScreen:1'
Beispiel #6
0
 def __init__(self):
   ControlPoint.__init__(self)
   self.subscribe('new_device_event', self.device_found)
   self.service = 'urn:schemas-icucinema-co-uk:service:Audio:1'
   self.utype = 'urn:schemas-icucinema-co-uk:device:CP500:1'
 def __init__(self):
     ControlPoint.__init__(self)
     self.lamps = []