ServerSetupIntentProcessor
internal class ServerSetupIntentProcessor(val router: ServerSetupRouter, val linksProvider: LinksProvider, val currentState: () -> ServerSetupState, val updateState: ((ServerSetupState) -> ServerSetupState) -> Unit, val emitEffect: (ServerSetupEffect) -> Unit, val localModelDownloadClickReducer: (ServerSetupState.LocalModel) -> Unit, val deleteLocalModel: (String) -> Unit, val download: (String, String) -> Unit, val validateAndConnectToServer: () -> Unit, val connectToServer: () -> Unit)(source)
Coordinates ServerSetupIntentProcessor behavior in the SDAI presentation layer.
Author
Dmitriy Moroz
Constructors
Link copied to clipboard
constructor(router: ServerSetupRouter, linksProvider: LinksProvider, currentState: () -> ServerSetupState, updateState: ((ServerSetupState) -> ServerSetupState) -> Unit, emitEffect: (ServerSetupEffect) -> Unit, localModelDownloadClickReducer: (ServerSetupState.LocalModel) -> Unit, deleteLocalModel: (String) -> Unit, download: (String, String) -> Unit, validateAndConnectToServer: () -> Unit, connectToServer: () -> Unit)
Properties
Link copied to clipboard
Exposes the connectToServer value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the currentState value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the deleteLocalModel value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the emitEffect value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the linksProvider value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the localModelDownloadClickReducer value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the router value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the updateState value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the validateAndConnectToServer value used by the SDAI presentation layer.