00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef SudoProtocol_h
00022 #define SudoProtocol_h
00023
00024 #include "RemoteProtocol.h"
00025
00026
00027 class SudoProtocol : public RemoteProtocol
00028 {
00029 const bool is_server;
00030
00031 public:
00039 SudoProtocol (bool is_server, std::string loginname, std::string componentname);
00040
00041 callStatus callComponent (std::string password = "", bool passwd_supplied = false);
00042
00046 bool doesEcho () const;
00047
00048 };
00049
00050
00051 #endif // SudoProtocol_h