Constructor
new DataSink(name, properties)
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
name |
String | - | |||||||||
properties |
Object | -
Properties
|
- Source:
Methods
getId() → {String}
Gets the data protocol default id.
- Source:
Returns:
The id
- Type
- String
getName() → {String}
Gets the name.
- Source:
Returns:
The name
- Type
- String
sendRequest(properties)
Sends the request.
Parameters:
Name | Type | Description |
---|---|---|
properties |
Object | - |
- Source:
Events
onError
Called when an error is caught.
Parameters:
Name | Type | Description |
---|---|---|
response |
- Source:
onSuccess
Called when the request succeeded.
Parameters:
Name | Type | Description |
---|---|---|
response |
- Source: