2 summary:: The persistent root group on the server
3 categories:: Server>Nodes
4 related:: Classes/Group, Reference/default_group
7 A RootNode is the Group with the nodeID of 0 which is always present on each Server and represents the root of that server's node tree.
9 It is always playing, and always running, cannot be freed, or moved anywhere.
11 Cacheing is used so that there is always one RootNode per link::Classes/Server::.
18 a === b; // identical object
20 sending code::"/s_new":: messages to the server, the target 0 is what is represented by this object.
22 s.sendMsg("/s_new", "default", -1, 0, 0);//the last argument is the target id
24 IMPORTANT: In general one should strong::not:: add nodes to the RootNode unless one has a specific reason to do so. Instead one should add nodes to the default_group.
25 This provides a known basic node order and protects functionality like Server.record, Server.scope, etc. The default group is the default target for all new nodes, so when using object style nodes will normally not be added to the RootNode unless that is explicitly specified. See link::Reference/default_group:: for more information.
30 private:: rninit, free, moveBefore, moveAfter, moveToHead, moveToTail, run