This patch enables the automata node to accept subscriptions for the state of a geode via the "geode_subscribeState" RPC method.
The subscription mechanism is implemented by getting storage updates: the subscribe method creates a stream over which it receives notifications when the storage value of the geode is updated; the storage value is converted to a GeodeState that is sent to the Subscriber.
This patch enables the automata node to accept subscriptions for the state of a geode via the "geode_subscribeState" RPC method.
The subscription mechanism is implemented by getting storage updates: the subscribe method creates a stream over which it receives notifications when the storage value of the geode is updated; the storage value is converted to a GeodeState that is sent to the Subscriber.