class MasterConfigTree


Definition#include <master_conf_tree.hh>
InheritsConfigTree [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

 MasterConfigTree (const string& conffile, TemplateTree *ct, TaskManager& task_manager)

MasterConfigTree

bool  read_file (string& configuration, const string& conffile, string& errmsg)

read_file

bool  parse (const string& configuration, const string& conffile)

parse

Reimplemented from ConfigTree.

void  execute ()

execute

void  config_done (bool success, string errmsg)

config_done

void  commit_changes_pass1 (CallBack cb)

commit_changes_pass1

void  commit_pass1_done (bool success, string errmsg)

commit_pass1_done

void  commit_changes_pass2 ()

commit_changes_pass2

void  commit_pass2_done (bool success, string errmsg)

commit_pass2_done

bool  commit_in_progress ()

commit_in_progress

[const]

bool  check_commit_status (string &response)

check_commit_status

string  discard_changes ()

discard_changes

string  mark_subtree_for_deletion (const list <string>& pathsegs, uid_t user_id)

mark_subtree_for_deletion

void  delete_entire_config ()

delete_entire_config

bool  lock_node (const string& node, uid_t user_id, uint32_t timeout, uint32_t& holder)

lock_node

bool  unlock_node (const string& node, uid_t user_id)

unlock_node

bool  save_to_file (const string& filename, uid_t user_id, string& errmsg)

save_to_file

bool  load_from_file (const string& filename, uid_t user_id, string& errmsg, string& deltas, string& deletions)

load_from_file

MasterConfigTreeNoderoot ()

root

Reimplemented from ConfigTree.

const MasterConfigTreeNodeconst_root ()

const_root

[const]

Reimplemented from ConfigTree.


Generated by: pavlin on possum.icir.org on Thu Nov 6 23:47:10 2003, using kdoc 2.0a54+XORP.