SimpleIviServiceHost

class SimpleIviServiceHost(iviServiceHostContext: IviServiceHostContext, val iviServices: Collection<AnyIviServiceBase>) : IviServiceHostBase

A very simple IVI service host.

Can be used to prevent boilerplate code in all services that have one or more IVI service implementations.

See SimpleIviServiceHostBuilder to build a SimpleIviServiceHost instance.

Constructors

Link copied to clipboard
fun SimpleIviServiceHost(iviServiceHostContext: IviServiceHostContext, iviServices: Collection<AnyIviServiceBase>)

Properties

Link copied to clipboard
open override val iviServices: Collection<AnyIviServiceBase>

The IVI service implementation instances that are hosted by this service host.

Inherited properties

Link copied to clipboard
val iviServiceMap: Map<IviServiceId, AnyIviServiceBase>

The IVI service implementation instances that are hosted by this service host associate by their IVI service ID.

Inherited functions

Link copied to clipboard
open fun onCreate()

Called on creation of the service host.

Link copied to clipboard
open fun onDestroy()

Called when the service host is being destroyed.