Constructor
new AggRoom(aggregatornon-null, aggHousenon-null)
Initialize an AggRoom.
Parameters:
Name | Type | Description |
---|---|---|
aggregator |
Aggregator | The aggregator to manage. |
aggHouse |
AggHouse | The AggHouse instance. |
- Source:
Members
name
Get aggregator name.
- Source:
version
Get aggregator version.
- Source:
Methods
containsClass(classId) → {boolean}
Check if the aggregator is responsible for some class.
Parameters:
Name | Type | Description |
---|---|---|
classId |
number | ID of class to check. |
- Source:
Returns:
Responsible or not.
- Type
- boolean
dispose()
Dispose worker.
- Source:
sendUpdate(input)
Send updated input to aggregator.
Parameters:
Name | Type | Description |
---|---|---|
input |
Object | Input data. |
- Source:
Throws:
-
Throw an error when update is sent to a disposed AggRoom.
- Type
- AggHouseRoomError
toString() → {string}
Get AggHouse info string.
- Source:
Returns:
AggHouse info string.
- Type
- string