Пример #1
0
 def add_incoming_action(self, action, cls, callback):
     self.incomingSubscriptions[PyroPrefixes.prefix_incoming(action)] = {"class":cls, "function":callback}
     self.subscribe(self.incomingSubscriptions.keys())
Пример #2
0
 def send_to_live(self, message, args):
     return self.send_message(PyroPrefixes.prefix_incoming(message), args)