forked from p15670423/monkey
Island: Subscribe set_simulation_mode to IslandEventTopic.SET_ISLAND_MODE
This commit is contained in:
parent
b4c1879bf9
commit
5a96d5b570
|
@ -6,6 +6,7 @@ from monkey_island.cc.island_event_handlers import (
|
||||||
reset_agent_configuration,
|
reset_agent_configuration,
|
||||||
reset_machine_repository,
|
reset_machine_repository,
|
||||||
set_agent_configuration_per_island_mode,
|
set_agent_configuration_per_island_mode,
|
||||||
|
set_simulation_mode,
|
||||||
)
|
)
|
||||||
from monkey_island.cc.repository import (
|
from monkey_island.cc.repository import (
|
||||||
IAgentEventRepository,
|
IAgentEventRepository,
|
||||||
|
@ -62,3 +63,6 @@ def _subscribe_set_island_mode_events(
|
||||||
island_event_queue.subscribe(
|
island_event_queue.subscribe(
|
||||||
IslandEventTopic.SET_ISLAND_MODE, container.resolve(set_agent_configuration_per_island_mode)
|
IslandEventTopic.SET_ISLAND_MODE, container.resolve(set_agent_configuration_per_island_mode)
|
||||||
)
|
)
|
||||||
|
island_event_queue.subscribe(
|
||||||
|
IslandEventTopic.SET_ISLAND_MODE, container.resolve(set_simulation_mode)
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue