mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-15 04:37:17 +00:00
10 lines
313 B
Python
10 lines
313 B
Python
from tfw.internals.networking import Intent
|
|
|
|
from .event_handler import EventHandler
|
|
|
|
|
|
class ControlEventHandler(EventHandler): # pylint: disable=abstract-method
|
|
def _event_callback(self, message):
|
|
if message.get('intent') != Intent.EVENT.value:
|
|
self.handle_event(message, self.connector)
|