forked from p34709852/monkey
Island: Keep naming consistency in island_event_handlers
This commit is contained in:
parent
275efb2ab1
commit
f9306cf8f1
|
@ -26,7 +26,7 @@ def setup_island_event_handlers(container: DIContainer):
|
||||||
_subscribe_reset_agent_configuration_events(island_event_queue, container)
|
_subscribe_reset_agent_configuration_events(island_event_queue, container)
|
||||||
_subscribe_clear_simulation_data_events(island_event_queue, container)
|
_subscribe_clear_simulation_data_events(island_event_queue, container)
|
||||||
_subscribe_set_island_mode_events(island_event_queue, container)
|
_subscribe_set_island_mode_events(island_event_queue, container)
|
||||||
_subscribe_on_terminate_agents_signal(island_event_queue, container)
|
_subscribe_terminate_agents_events(island_event_queue, container)
|
||||||
|
|
||||||
|
|
||||||
def _subscribe_agent_registration_events(
|
def _subscribe_agent_registration_events(
|
||||||
|
@ -78,7 +78,7 @@ def _subscribe_set_island_mode_events(
|
||||||
island_event_queue.subscribe(topic, simulation_repository.set_mode)
|
island_event_queue.subscribe(topic, simulation_repository.set_mode)
|
||||||
|
|
||||||
|
|
||||||
def _subscribe_on_terminate_agents_signal(
|
def _subscribe_terminate_agents_events(
|
||||||
island_event_queue: IIslandEventQueue, container: DIContainer
|
island_event_queue: IIslandEventQueue, container: DIContainer
|
||||||
):
|
):
|
||||||
topic = IslandEventTopic.TERMINATE_AGENTS
|
topic = IslandEventTopic.TERMINATE_AGENTS
|
||||||
|
|
Loading…
Reference in New Issue