openWeave is a home area network application protocol stack designed to enable asynchronous, symmetric, device-to-device, device-to-mobile and device-to-cloud communications for control path and data path messaging.
This commit enables a set of APIs to persist and restore the
subscription state. Such functionality may be used when the
Weave process needs to shutdown and restart in an orderly fashion
while preserving the illusion that the subscription remains
unchanged. In order to successfully accomplish this task, the
commit introduces the functionality to:
serialize SubscriptionClient and SubscriptionHandler data.
load SubscriptionClient and SubscriptionHandler from
serialized data and integrate it into the subscription engine
mechanisms.
find established subscription handlers and clients from the SubscriptionEngine
This commit enables a set of APIs to persist and restore the subscription state. Such functionality may be used when the Weave process needs to shutdown and restart in an orderly fashion while preserving the illusion that the subscription remains unchanged. In order to successfully accomplish this task, the commit introduces the functionality to:
serialize SubscriptionClient and SubscriptionHandler data.
load SubscriptionClient and SubscriptionHandler from serialized data and integrate it into the subscription engine mechanisms.
find established subscription handlers and clients from the SubscriptionEngine