yast2-transfer
Public Member Functions | List of all members
TftpAgent Class Reference

An interface class between YaST2 and Tftp Agent. More...

#include <TftpAgent.h>

Inheritance diagram for TftpAgent:
SCRAgent

Public Member Functions

 TftpAgent ()
 
virtual ~TftpAgent ()
 
virtual YCPValue Read (const YCPPath &path, const YCPValue &arg=YCPNull(), const YCPValue &opt=YCPNull())
 
virtual YCPValue Execute (const YCPPath &path, const YCPValue &value, const YCPValue &arg)
 
virtual YCPBoolean Write (const YCPPath &path, const YCPValue &value, const YCPValue &arg)
 
virtual YCPList Dir (const YCPPath &path)
 
virtual YCPValue otherCommand (const YCPTerm &term)
 

Detailed Description

An interface class between YaST2 and Tftp Agent.

Constructor & Destructor Documentation

TftpAgent::TftpAgent ( )

Agent private variables Default constructor.

Constructor

TftpAgent::~TftpAgent ( )
virtual

Destructor.

Destructor

Member Function Documentation

YCPList TftpAgent::Dir ( const YCPPath path)
virtual

Provides SCR Write ().

Dir

Implements SCRAgent.

References y2error.

YCPValue TftpAgent::Execute ( const YCPPath path,
const YCPValue value,
const YCPValue arg 
)
virtual

Provides SCR Execute ().

Execute

References dotftp(), and y2error.

YCPValue TftpAgent::otherCommand ( const YCPTerm term)
virtual

Used for mounting the agent.

otherCommand

Reimplemented from SCRAgent.

References YCPTerm::name().

YCPValue TftpAgent::Read ( const YCPPath path,
const YCPValue arg = YCPNull(),
const YCPValue opt = YCPNull () 
)
virtual

Provides SCR Read ().

Parameters
pathPath that should be read.
argAdditional parameter.

Read

Implements SCRAgent.

References y2error.

YCPBoolean TftpAgent::Write ( const YCPPath path,
const YCPValue value,
const YCPValue arg 
)
virtual

Provides SCR Write ().

Write

Implements SCRAgent.

References y2error.


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

Generated on a sunny day for yast2-transfer by doxygen 1.8.6