#include <Y2RemoteComponent.h>
Inheritance diagram for Y2RemoteComponent:

Public Member Functions | |
| Y2RemoteComponent (bool is_server, string protocol, string loginname, string hostname, string password, string componentname) | |
| string | name () const |
| YCPValue | evaluate (const YCPValue &command) |
| YCPValue | doActualWork (const YCPList &arglist, Y2Component *user_interface) |
| bool | remote () const |
Private Member Functions | |
| void | send (const YCPValue &v, bool eat_echo) |
| YCPValue | receive () |
| bool | initTelnetSession (class ExternalProgram &) |
| string | askPassword (bool &ok) |
| bool | analyseURL (string) |
| bool | connect () |
Private Attributes | |
| const bool | is_server |
| Y2Component * | user_interface |
| string | protocol |
| string | loginname |
| string | password |
| string | hostname |
| string | componentname |
| RemoteProtocol * | rp |
| Parser | parser |
| bool | is_up |
|
||||||||||||||||||||||||||||
|
Creates a new remote component. |
|
|
|
|
|
Ask the user for the password.
|
|
|
|
|
||||||||||||
|
Here the client does its actual work.
Reimplemented from Y2Component. |
|
|
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.
Reimplemented from Y2Component. |
|
|
Initiates a telnet session |
|
|
Returns the name of the module. Implements Y2Component. |
|
|
Receive a YCP value from the remote component. |
|
|
Reimplemented from Y2Component. |
|
||||||||||||
|
Sends a YCP value to the remote component. |
|
|
|
|
|
|
|
|
It this component a server or a client? |
|
|
Is the remote connection up? |
|
|
|
|
|
The parser. |
|
|
|
|
|
|
|
|
The remote protocol. |
|
|
Access to the user interface |
1.4.4