Subscribe
This command subscribes to changes that happens to a specific node or any of its children.
The server will publish changes to the client until either the connection is terminated, the logout command is sent or an unsubscribe on the node or on of its recursive parents are being sent.
subscribe <node id>
The subscription will be made if the node id
exists and the current user is authenticated to subscribe to the specified node id.
If not, then an error is returned.
After a successful subscription all node in the sub-tree will be sent to the client in the form for create and update commands from the parent id and down. Hereby the client can create the view as it is currently seen in the database.
After this all changes to nodes in the sub-tree is reported to the client through create, update, move or remove commands.