コード例 #1
0
ファイル: host.py プロジェクト: drpancake/cubicus-daemon
 def allowed_types(self):
     types = ['application_identify', 'switch_context', 'event',
              'became_active']
     return SocketThread.allowed_types(self) + types
コード例 #2
0
ファイル: device.py プロジェクト: drpancake/cubicus-daemon
 def allowed_types(self):
     types = ["device_identify", "state", "event", "pair_response"]
     return SocketThread.allowed_types(self) + types