\see \ref console_testserver for a complete example application
- \section intro_usage Access
+ \section intro_usage Using the Console: Configuration files, Network console, ...
There are several ways to access the node tree:
\li By parsing configuration files
\li By parsing command line parameters
- \li By providing interactive console access
+ \li By providing interactive or non-interactive network console access
\see console_access
\see \ref node_tree
- \section intro_commands Registering console/config commands
+ \section intro_commands Implementing console/config commands
The console/config language does not define, how arguments are passed to the commands, it just
tokenizes the input and passes the tokens to the commands which then handle the
\code
// Create a console/config aware object and place it into the node tree
FooObject foo;
- senf::console::add("foo", foo.dir);
+ senf::console::root().add("foo", foo.dir);
// Open configuration file
senf::console::ConfigFile cf ("/etc/myserver.conf");