yast2-transfer
TftpAgent.h
Go to the documentation of this file.
1 /****************************************************************************
2 
3 Copyright (c) 2000 - 2012 Novell, Inc.
4 All Rights Reserved.
5 
6 This program is free software; you can redistribute it and/or
7 modify it under the terms of version 2 of the GNU General Public License as
8 published by the Free Software Foundation.
9 
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14 
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, contact Novell, Inc.
17 
18 To contact Novell about this file by physical or electronic mail,
19 you may find current contact information at www.novell.com
20 
21 ****************************************************************************/
22 /*
23  * YaST2: Core system
24  *
25  * Description:
26  * YaST2 SCR: Tftp agent implementation
27  *
28  * Authors:
29  * Anas Nashif <nashif@suse.de>
30  *
31  * $Id$
32  */
33 
34 #ifndef _TftpAgent_h
35 #define _TftpAgent_h
36 
37 #include <Y2.h>
38 #include <scr/SCRAgent.h>
39 
40 
44 class TftpAgent : public SCRAgent
45 {
46  private:
51  public:
55  TftpAgent();
59  virtual ~TftpAgent();
60 
66  virtual YCPValue Read(const YCPPath &path, const YCPValue& arg = YCPNull(), const YCPValue& opt = YCPNull ());
67 
72  virtual YCPValue Execute(const YCPPath& path, const YCPValue& value , const YCPValue& arg );
76  virtual YCPBoolean Write(const YCPPath &path, const YCPValue& value, const YCPValue& arg );
77 
81  virtual YCPList Dir(const YCPPath& path);
82 
86  virtual YCPValue otherCommand(const YCPTerm& term);
87 };
88 
89 #endif /* _TftpAgent_h */
virtual YCPValue Read(const YCPPath &path, const YCPValue &arg=YCPNull(), const YCPValue &opt=YCPNull())
Definition: TftpAgent.cc:440
An interface class between YaST2 and Tftp Agent.
Definition: TftpAgent.h:44
virtual YCPBoolean Write(const YCPPath &path, const YCPValue &value, const YCPValue &arg)
Definition: TftpAgent.cc:499
virtual YCPValue otherCommand(const YCPTerm &term)
Definition: TftpAgent.cc:509
virtual ~TftpAgent()
Definition: TftpAgent.cc:424
TftpAgent()
Definition: TftpAgent.cc:417
virtual YCPValue Execute(const YCPPath &path, const YCPValue &value, const YCPValue &arg)
Definition: TftpAgent.cc:451
virtual YCPList Dir(const YCPPath &path)
Definition: TftpAgent.cc:431

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