Subscription Architecture


Generator Threads operate on Variable Pool. The Variable Pool represents the raw data produced in the environment.
A Subscription Hash Table is held, storing the Subscription ID, as key, associated to the Subscription Body, as value, containing for each requested item a buffer queue, a mutex-on-buffer queue and a thread-on-buffer queue.
When and Advanced Poll Request Subscription is issued, values are extracted from buffers, fed meanwhile by corresponding threads, and sent back to the client in the response.
A proper value-changed notification mechanism must be considered.
Closed Jun 22, 2011 at 11:17 AM by burakku