diff --git a/monkey/monkey_island/cc/event_queue/i_island_event_queue.py b/monkey/monkey_island/cc/event_queue/i_island_event_queue.py index cfee63461..d2398df86 100644 --- a/monkey/monkey_island/cc/event_queue/i_island_event_queue.py +++ b/monkey/monkey_island/cc/event_queue/i_island_event_queue.py @@ -1,12 +1,14 @@ from abc import ABC, abstractmethod -from enum import Enum +from enum import Enum, auto from typing import Any from . import IslandEventSubscriber -IslandEventTopic = Enum( - "IslandEventTopic", ["AGENT_CONNECTED", "CLEAR_SIMULATION_DATA", "RESET_AGENT_CONFIGURATION"] -) + +class IslandEventTopic(Enum): + AGENT_CONNECTED = auto() + CLEAR_SIMULATION_DATA = auto() + RESET_AGENT_CONFIGURATION = auto() class IIslandEventQueue(ABC):