How Subscriptions And Notifications Work

When a client subscribes to a pattern, the dictionary makes note of this in its entry for the client. When a client first subscribes to a new path, the dictionary sends all the associated entries. When these values are received, the client generates the notifications locally. These notifications are labeled as “add” events.

From this point on, the subscription is used to determine if that client should receive an update when an entry in the dictionary is changed. When these values are received, the client generates the notifications locally. These notifications are labeled as “change” events. For more detail, see this section http://grouplab.cpsc.ucalgary.ca/cookbook/index.php?n=Toolkits.BasicArchitecture