|
yast2-core
|
SCR Agent for Resolver commands. More...
#include <ResolverAgent.h>
Public Member Functions | |
| ResolverAgent () | |
| ~ResolverAgent () | |
| YCPValue | Read (const YCPPath &path, const YCPValue &arg=YCPNull(), const YCPValue &optarg=YCPNull()) |
| YCPBoolean | Write (const YCPPath &path, const YCPValue &value, const YCPValue &arg=YCPNull()) |
| YCPList | Dir (const YCPPath &path) |
| YCPValue | otherCommand (const YCPTerm &term) |
Public Member Functions inherited from SCRAgent | |
| SCRAgent () | |
| virtual | ~SCRAgent () |
| virtual YCPValue | Execute (const YCPPath &path, const YCPValue &=YCPNull(), const YCPValue &=YCPNull()) |
| virtual YCPMap | Error (const YCPPath &) |
| virtual YCPBoolean | RegisterAgent (const YCPPath &path, const YCPValue &) |
| virtual YCPBoolean | UnregisterAgent (const YCPPath &path) |
| virtual YCPBoolean | UnregisterAllAgents () |
| virtual YCPBoolean | UnmountAgent (const YCPPath &) |
| virtual YCPBoolean | RegisterNewAgents () |
| virtual const char * | root () const |
| void | setAsCurrentSCR () |
| string | targetPath (const string &path) const |
Private Attributes | |
| string | file_name |
Additional Inherited Members | |
Static Public Member Functions inherited from SCRAgent | |
| static YCPValue | readconf (const char *filename) |
| static SCRAgent * | instance () |
Public Attributes inherited from SCRAgent | |
| SCRAgent * | mainscragent |
SCR Agent for Resolver commands.
| ResolverAgent::ResolverAgent | ( | ) |
| ResolverAgent::~ResolverAgent | ( | ) |
References cacheDirty, cacheValid, file_name, flushCache(), and SCRAgent::targetPath().
Other commands
Reimplemented from SCRAgent.
References cacheValid, file_name, YCPTerm::name(), YCPTerm::size(), YCPTerm::value(), and y2debug.
|
virtual |
Implements SCRAgent.
References file_name, fillCache(), YCPElement::isNull(), localCache, SCRAgent::targetPath(), YCPMap::value(), and y2debug.
|
virtual |
Writes data.
Implements SCRAgent.
References YCPMap::add(), allowedInfoKey(), allowedKey(), cacheDirty, file_name, fillCache(), flushCache(), YCPElement::isNull(), SCRAgent::targetPath(), writeHeader, y2debug, and ycp2error.
|
private |
Referenced by otherCommand(), Read(), Write(), and ~ResolverAgent().
1.8.6