Class: AggHouse

AggHouse

Class that manages aggregators.

Constructor

new AggHouse(optionalConfig)

Initialize an AggHouse.
Parameters:
Name Type Description
optionalConfig Object Optional configurations.
Source:

Methods

getConfig(name) → {*}

Get configuration.
Parameters:
Name Type Description
name string Configuration name.
Source:
Returns:
Configuration value.
Type
*

getData(aggregatorName) → (non-null) {Object}

Get data of an aggregator.
Parameters:
Name Type Description
aggregatorName string Name of aggregator name to get data from.
Source:
Returns:
Aggregator data.
Type
Object

loadAggregator(aggregatornon-null)

Create an AggRoom for an aggregator add it to control list.
Parameters:
Name Type Description
aggregator Aggregator Aggregator to load.
Source:

unloadAggregator(aggregator)

Unload an aggregator and dispose its AggRoom.
Parameters:
Name Type Description
aggregator Aggregator | string The aggregator to unload.
Source:

updateData(aggregatorName, newData, isAppending)

Update data produced by an aggregator.
Parameters:
Name Type Description
aggregatorName string Name of aggregator name to get data from.
newData string New data from aggregator.
isAppending boolean | null If is appending to or replacing original.
Source: