Create and use a ClientEnvironment
Create a ClientEnvironement inheriting from SimpleEnvironment provided by c-crdtlib.
Implement specific onRead and onWrite handlers asserting:
- session, collection and object are still opened;
- we are in a transaction;
- is case of write the object is not in read-only mode.
Sync with local state with c-service.
Edited by Ludovic Le Frioux