new OSH.DataSender.DataSenderController(options)
| Name | Type | Description |
|---|---|---|
options |
Object |
Methods
-
addDataSource(datasource)
-
Adds a datasource to the list of datasources to process
Name Type Description datasourceObject the datasource to add
-
sendRequest(dataSourceId, properties, onSucess, onError)
-
Sends request to the server
Name Type Description dataSourceIdstring the datasource id to process
propertiesObject the properties to use
onSucessfunction the onSucess function
onErrorfunction the onError function