User Tools

Site Tools


cmd:s_create

Create Command

This command is being sent by the server to a subscriber whenever a node is being created or a node is being moved from an non-subscribed sub-tree into a subscribed sub-tree.

<subscription id> create <node id> <parent id> <before id>
  • The subscription id is the id of the node on which the subscription was originally made.
  • The node id is the id of the new node.
  • The parent id is the parent id of the new node. Can be -1 if the new node is the root node of the subscription, ie. the subscription node itself in which case it does not have a parent to be presented.
  • The before id is the id of the item after in the list. A value of -1 means “last”.
cmd/s_create.txt · Last modified: 2020/06/08 18:29 by deva