Constructor
new DataSenderController(options)
Parameters:
| Name | Type | Description |
|---|---|---|
options |
Object |
Methods
addDataSource(datasource)
Adds a datasource to the list of datasources to process
Parameters:
| Name | Type | Description |
|---|---|---|
datasource |
Object | the datasource to add |
sendRequest(dataSourceId, properties, onSucess, onError)
Sends request to the server
Parameters:
| Name | Type | Description |
|---|---|---|
dataSourceId |
string | the datasource id to process |
properties |
Object | the properties to use |
onSucess |
function | the onSucess function |
onError |
function | the onError function |