IviServiceHostManagerBase

abstract class IviServiceHostManagerBase(    val iviInstanceIds: Collection<IviInstanceId>?,     val serviceHostId: IviServiceHostId,     iviServiceInterfaceRegistrations: Collection<AnyIviServiceInterfaceRegistration>) : LifecycleOwner

Base class for IVI service host managers.

A service host manager manages one or more IVI service interface connections towards one or more instances.

Parameters

iviInstanceIds

The IVI instance IDs to manage the connections for. Null for a global IVI service host.

serviceHostId

A system wide unique ID of a service host.

iviServiceInterfaceRegistrations

IVI service interfaces hosted by this service host.

Constructors

Link copied to clipboard
fun IviServiceHostManagerBase(    iviInstanceIds: Collection<IviInstanceId>?,     serviceHostId: IviServiceHostId,     iviServiceInterfaceRegistrations: Collection<AnyIviServiceInterfaceRegistration>)

Properties

Link copied to clipboard
abstract val connectionType: ConnectionType

The connection type of the service host.

Link copied to clipboard
val iviInstanceIds: Collection<IviInstanceId>?
Link copied to clipboard
Link copied to clipboard
val serviceHostId: IviServiceHostId
Link copied to clipboard
val serviceHostStatus: List<IviServiceHostStatus>

The service host status.

Link copied to clipboard
val serviceIds: Collection<IviServiceId>

Functions

Link copied to clipboard
open override fun getLifecycle(): Lifecycle
Link copied to clipboard
@CallSuper
open fun onStart()

Called after the service host manager has been initialized.

Link copied to clipboard
@CallSuper
open fun onStop()

Called when the service host manager is about to be stopped.