julioterra/Bright_Lights_Control — Issue #22: Create support for controller to accept push approach to realtime updates
Author: julioterra
Created: 2012-03-02 05:32:24+00:00
State: open

Ultimately this means that a controller would need to be able to support two different types of realtime objects (pull and push). This means that the data model for realtime controllers need to specify whether a controller is a push or pull controller.

For push control objects, the controller would need to:
1. Ideally, be able to tell an object to turn the feed on or off or be able to just ignore a constant feed when not in use.
2. Have a method that can be called by the realtime object to provide new data.
3. Handle incoming data without a buffer, in a way that just focus on reading the most recent complete message.