AbstractThirdPartyWtvApplicationService
AbstractThirdPartyWtvApplicationService ⇐ ThirdPartyApplicationService
Kind: global abstract class
Extends: ThirdPartyApplicationService
Service:
Properties
Name | Type | Description |
---|---|---|
exposedApi | Object | |
proxyService | ProxyServerService | |
applicationList | Array.<ThirdPartyApplication> | the list of available application |
eventBus | EventBus | Event bus instance |
- AbstractThirdPartyWtvApplicationService ⇐
ThirdPartyApplicationService
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
Param | Type | Description |
---|---|---|
application | AbstractThirdPartyApplication | the application to start |
options | Map | 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
Param | Type | Description |
---|---|---|
application | AbstractThirdPartyApplication | the application to resume |
options | Map | Additional options |
_onSuspended(application, options) ⇒ Promise
Kind: instance method of AbstractThirdPartyWtvApplicationService
Emits: applicationSuspended
Access: protected
Param | Type | Description |
---|---|---|
application | AbstractThirdPartyApplication | the suspended application |
options | Object | the options |