baseimage-tutorial-framework/lib/tfw/builtins/event_handler.py
2019-06-28 15:11:02 +02:00

11 lines
324 B
Python

from tfw.event_handlers import EventHandlerBase
from tfw.networking import Scope
from .tfw_server_connector import TFWServerConnector
class EventHandler(EventHandlerBase):
# pylint: disable=abstract-method
def __init__(self, key, scope=Scope.ZMQ):
super().__init__(key, TFWServerConnector(), scope=scope)