Ejemplo n.º 1
0
 def __init__(self):
     AddressBase.__init__(self)
     self._message_type_name = batcher.get_message_type_name(
         self.message_type)
     if self.register_message:
         processor.register_message_handler(self)
     else:
         processor.unregister_message_handler(self)
 def _unregister(self):
     """Unregisters the class as the authoritative message handler for this message type"""
     processor.unregister_message_handler(self)