AbstractThirdPartyWtvApplicationService

AbstractThirdPartyWtvApplicationService ⇐ ThirdPartyApplicationService

Kind: global abstract class
Extends: ThirdPartyApplicationService
Service:
Properties

NameTypeDescription
exposedApiObject
proxyServiceProxyServerService
applicationListArray.<ThirdPartyApplication>

the list of available application

eventBusEventBus

Event bus instance

AbstractThirdPartyWtvApplicationService()

A service to control third party apps (start, stop, …)

start(application, options) ⇒ Promise

Start the application

Kind: instance method of AbstractThirdPartyWtvApplicationService
Returns: Promise - A promise resolved if application has been started

ParamTypeDescription
applicationAbstractThirdPartyApplication

the application to start

optionsMap

Additional options

resume(application, options) ⇒ Promise

Resume the suspended application

Kind: instance method of AbstractThirdPartyWtvApplicationService
Returns: Promise - A promise resolved if application has been resumed

ParamTypeDescription
applicationAbstractThirdPartyApplication

the application to resume

optionsMap

Additional options

_onSuspended(application, options) ⇒ Promise

Kind: instance method of AbstractThirdPartyWtvApplicationService
Emits: applicationSuspended
Access: protected

ParamTypeDescription
applicationAbstractThirdPartyApplication

the suspended application

optionsObject

the options