MeshServiceOrchestrator
class MeshServiceOrchestrator(radioInterfaceService: RadioInterfaceService, serviceRepository: ServiceRepository, nodeManager: NodeManager, messageProcessor: MeshMessageProcessor, router: MeshRouter, serviceNotifications: MeshServiceNotifications, takServerManager: TAKServerManager, takMeshIntegration: TAKMeshIntegration, takPrefs: TakPrefs, databaseManager: DatabaseManager, connectionManager: MeshConnectionManager, dispatchers: CoroutineDispatchers)(source)
Platform-agnostic orchestrator for the mesh service lifecycle.
Extracts the startup wiring previously embedded in Android's MeshService.onCreate() into a reusable component. Both Android's foreground Service and the Desktop main() function can use this to start/stop the mesh service graph.
All injected dependencies are commonMain interfaces with real implementations in core:data.
Constructors
Link copied to clipboard
constructor(radioInterfaceService: RadioInterfaceService, serviceRepository: ServiceRepository, nodeManager: NodeManager, messageProcessor: MeshMessageProcessor, router: MeshRouter, serviceNotifications: MeshServiceNotifications, takServerManager: TAKServerManager, takMeshIntegration: TAKMeshIntegration, takPrefs: TakPrefs, databaseManager: DatabaseManager, connectionManager: MeshConnectionManager, dispatchers: CoroutineDispatchers)