yast2-core
Public Member Functions | Private Attributes | List of all members
Y2IniAgentComponent Class Reference

#include <Y2IniAgentComponent.h>

Inheritance diagram for Y2IniAgentComponent:
Y2Component

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 Y2Namespaceimport (const char *name_space)
 
virtual YCPValue doActualWork (const YCPList &arglist, Y2Component *user_interface)
 
virtual SCRAgentgetSCRAgent ()
 
virtual bool remote () const
 

Private Attributes

SCRInterpreter * interpreter
 
IniAgentagent
 

Constructor & Destructor Documentation

Y2IniAgentComponent::Y2IniAgentComponent ( )

Default constructor

Y2IniAgentComponent::~Y2IniAgentComponent ( )

Destructor

References agent, and interpreter.

Member Function Documentation

YCPValue Y2IniAgentComponent::evaluate ( const YCPValue command)
virtual

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.

Parameters
commandThe 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

string Y2IniAgentComponent::name ( ) const
virtual

Returns the name of the module.

Implements Y2Component.

Member Data Documentation

IniAgent* Y2IniAgentComponent::agent
private

Referenced by evaluate(), and ~Y2IniAgentComponent().

SCRInterpreter* Y2IniAgentComponent::interpreter
private

Referenced by evaluate(), and ~Y2IniAgentComponent().


The documentation for this class was generated from the following files:

Generated on a sunny day for yast2-core by doxygen 1.8.8