00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef TelnetProtocol_h
00023 #define TelnetProtocol_h
00024
00025 #include "RemoteProtocol.h"
00026
00027
00028 class TelnetProtocol : public RemoteProtocol
00029 {
00030 const bool is_server;
00031
00032 std::string loginname;
00033 std::string componentname;
00034
00035 public:
00044 TelnetProtocol (bool is_server, std::string loginname, std::string hostname,
00045 std::string componentname);
00046
00047 callStatus callComponent (std::string password = "", bool passwd_supplied = false);
00048
00052 bool doesEcho () const;
00053
00054 };
00055
00056
00057 #endif // TelnetProtocol_h