ServiceFactory
It is a factory helper class which is responsible to instantiate any service class.
Static Method Summary
Static Public Methods | ||
public static |
get(id: MESSAGE_BUILDER | WEB_RTC | WEB_SOCKET | FULLY_CONNECTED | CHANNEL_BUILDER, options: Object): Service Provides the service instance specified by |
Static Public Methods
public static get(id: MESSAGE_BUILDER | WEB_RTC | WEB_SOCKET | FULLY_CONNECTED | CHANNEL_BUILDER, options: Object): Service source
Provides the service instance specified by id
.
Params:
Name | Type | Attribute | Description |
id | MESSAGE_BUILDER | WEB_RTC | WEB_SOCKET | FULLY_CONNECTED | CHANNEL_BUILDER | The service identifier |
|
options | Object |
|
Any options that the service accepts |
Throw:
If the service |