new Transport(optsopt, adapter)
- Source:
The base class for all transports
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
opts |
Object |
<optional> |
General settings for the Transport |
adapter |
Adapter | Adapter for which this is a plugin |
Methods
(abstract) send(address, command) → {Promise}
- Source:
Send a command to an address
Parameters:
| Name | Type | Description |
|---|---|---|
address |
Object | The address the command will be sent to |
command |
Command | The command to send |
Returns:
- Type
- Promise