#include <Terminal.h>
Public Member Functions | |
Terminal (int, struct in_addr) | |
~Terminal () | |
void | process () |
void | process (string in) throw (VtyErr,CmdErr) |
void | process (const char *) throw (VtyErr,CmdErr) |
commandStatus | makeAction (char *const *mask, const string cmdname, const list< string >paramList, Command *up) throw (CmdErr) |
bool | auth () |
commandStatus | cmdExit (char *const *mask, const string cmdname, const list< string > paramlist, Command *up) |
commandStatus | cmdHelp (char *const *mask, const string cmdname, const list< string >paramList, Command *up) |
commandStatus | cmdShowUsr (char *const *mask, const string cmdID, const list< string > paramlist, Command *up) |
commandStatus | cmdShowNas (char *const *mask, const string cmdID, const list< string > paramlist, Command *up) |
commandStatus | cmdClearUsr (char *const *mask, const string cmdID, const list< string > paramlist, Command *up) |
commandStatus | cmdClearNas (char *const *mask, const string cmdID, const list< string > paramlist, Command *up) |
commandStatus | cmdDbCreate (char *const *mask, const string cmdID, const list< string > paramlist, Command *up) |
commandStatus | cmdDbAdd (char *const *mask, const string cmdID, const list< string > paramlist, Command *up) |
commandStatus | cmdDbDel (char *const *mask, const string cmdID, const list< string > paramlist, Command *up) |
commandStatus | cmdDbMod (char *const *mask, const string cmdID, const list< string > paramlist, Command *up) |
commandStatus | cmdDbShow (char *const *mask, const string cmdID, const list< string > paramlist, Command *up) |
commandStatus | cmdNoDebug (char *const *mask, const string cmdID, const list< string > paramlist, Command *up) |
commandStatus | cmdDebug (char *const *mask, const string cmdID, const list< string > paramlist, Command *up) |
commandStatus | cmdConfig (char *const *mask, const string cmdID, const list< string > paramlist, Command *up) |
commandStatus | cmdConfigAccess (char *const *mask, const string cmdID, const list< string > paramlist, Command *up) |
commandStatus | cmdConfigBilling (char *const *mask, const string cmdID, const list< string > paramlist, Command *up) |
commandStatus | cmdConfigBundle (char *const *mask, const string cmdID, const list< string > paramlist, Command *up) |
commandStatus | cmdConfigDb (char *const *mask, const string cmdID, const list< string > paramlist, Command *up) |
commandStatus | cmdConfigDebug (char *const *mask, const string cmdID, const list< string > paramlist, Command *up) |
commandStatus | cmdConfigDevice (char *const *mask, const string cmdID, const list< string > paramlist, Command *up) |
commandStatus | cmdConfigListner (char *const *mask, const string cmdID, const list< string > paramlist, Command *up) |
commandStatus | cmdConfigManager (char *const *mask, const string cmdID, const list< string > paramlist, Command *up) |
commandStatus | cmdConfigPeer (char *const *mask, const string cmdID, const list< string > paramlist, Command *up) |
commandStatus | cmdConfigPool (char *const *mask, const string cmdID, const list< string > paramlist, Command *up) |
Public Attributes | |
char | username [100] |
char | address [100] |
VtyTerm * | vt |
Protected Attributes | |
map< string, MethodPointer, less< string > > | pM |
Cli * | cl |
|
destructor |
|
terminal user authentication |
|
process file with commands |