def add_incoming_action(self, action, cls, callback):
     self.incomingSubscriptions[PyroPrefixes.prefix_incoming(action)] = {"class":cls, "function":callback}
     self.subscribe(self.incomingSubscriptions.keys())
 def send_to_live(self, message, args):
     return self.send_message(PyroPrefixes.prefix_incoming(message), args)
 def register_to_showtime(self, message, methodaccess, methodargs=None):
     return self.send_message(PyroPrefixes.prefix_registration(message), {"args": methodargs, "methodaccess": methodaccess})
 def send_to_showtime(self, message, args, responding=False):
     if responding:
         return self.send_message(PyroPrefixes.prefix_responder(message), args)
     return self.send_message(PyroPrefixes.prefix_outgoing(message), args)