00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef SuProtocol_h
00022 #define SuProtocol_h
00023
00024 #include "RemoteProtocol.h"
00025
00026
00027 class SuProtocol : public RemoteProtocol
00028 {
00029 const bool is_server;
00030
00031 std::string loginname;
00032 std::string componentname;
00033
00038 bool at_password_prompt;
00039
00040 public:
00048 SuProtocol (bool is_server, std::string loginname, std::string componentname);
00049
00050 callStatus callComponent (std::string password = "", bool passwd_supplied = false);
00051
00055 bool doesEcho () const;
00056
00057 };
00058
00059
00060 #endif // SuProtocol_h