new BaseCommand(app)
Create the service
Parameters:
| Name | Type | Description |
|---|---|---|
app |
App | The application |
Members
-
<static> requires :Array.<string>
-
Dependencies as constructor arguments
Type:
- Array.<string>
Methods
-
<async> send(request [, sockName])
-
Send request and return response
Parameters:
Name Type Argument Description requestBuffer sockNamestring <optional>
Returns:
- Type
- Promise
-
<async> error(args)
-
Log error and terminate
Parameters:
Name Type Argument Description args* <repeatable>
Returns:
- Type
- Promise