Class: Session
The Session class manages a feed of live data from the ARDI server.
It allows you to get regular updates when values change on one or more Channels.
Member Functions
| Name | Description | Parameters |
|---|---|---|
| init | Constructor | Server |
| AddChannel | Adds a single channel to the Session | Asset, Property |
| AddChannels | Adds one or more channels from an AQL Query | Query |
| Callback | Registers the function that will be called to notify that changes have occurred | Function |
| Start | Begins a new live-data session | |
| Stop | Ends a live-data session | |