コード例 #1
0
ファイル: __init__.py プロジェクト: auduny/chains
 def sendEvent(self, key, data, deviceAttributes=None):
     AmqpDaemon.sendEvent(self, key, data, deviceAttributes)
コード例 #2
0
 def sendEvent(self, key, data, deviceAttributes={}):
     # add the service class to all events from that class
     deviceAttributes['class'] = self.config.get('class')
     AmqpDaemon.sendEvent(self, key, data, deviceAttributes)