Class: DataSenderController

DataSenderController(options)

This class is in charge of send command to the server

Constructor

new DataSenderController(options)

Parameters:
Name Type Description
options Object -
Source:

Methods

addDataSource(datasource)

Adds a datasource to the list of datasources to process
Parameters:
Name Type Description
datasource Object the datasource to add
Source:

sendRequest(dataSourceId, properties, onSuccess, onError)

Sends request to the server
Parameters:
Name Type Description
dataSourceId String the datasource id to process
properties Object the properties to use
onSuccess function the onSucess function
onError function the onError function
Source: