|
yast2-core
|
#include <Y2IniAgentComponent.h>
Public Member Functions | |
| Y2IniAgentComponent () | |
| ~Y2IniAgentComponent () | |
| bool | isServer () const |
| virtual string | name () const |
| virtual YCPValue | evaluate (const YCPValue &command) |
Public Member Functions inherited from Y2Component | |
| Y2Component () | |
| virtual | ~Y2Component () |
| virtual void | result (const YCPValue &result) |
| virtual void | setServerOptions (int argc, char **argv) |
| virtual Y2Namespace * | import (const char *name_space) |
| virtual YCPValue | doActualWork (const YCPList &arglist, Y2Component *user_interface) |
| virtual SCRAgent * | getSCRAgent () |
| virtual bool | remote () const |
Private Attributes | |
| SCRInterpreter * | interpreter |
| IniAgent * | agent |
| Y2IniAgentComponent::Y2IniAgentComponent | ( | ) |
Default constructor
| Y2IniAgentComponent::~Y2IniAgentComponent | ( | ) |
Destructor
References agent, and interpreter.
Starts the server, if it is not already started and does what a server is good for: Gets a command, evaluates (or executes) it and returns the result.
| command | The command to be executed. Any YCPValueRep can be executed. The execution is performed by some YCPInterpreter. |
Reimplemented from Y2Component.
References agent, and interpreter.
| bool Y2IniAgentComponent::isServer | ( | ) | const |
Returns true: The scr is a server component
|
virtual |
Returns the name of the module.
Implements Y2Component.
|
private |
Referenced by evaluate(), and ~Y2IniAgentComponent().
|
private |
Referenced by evaluate(), and ~Y2IniAgentComponent().
1.8.6