machineioman.h 603 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef MACHINEIOMAN_H
  2. #define MACHINEIOMAN_H
  3. #include "ioman.h"
  4. /**
  5. * @class MachineIoMan
  6. *
  7. * Provides specific implementations of IoMan outputs and prompts
  8. * for interactive non-user sessions
  9. */
  10. class MachineIoMan : public IoMan {
  11. private:
  12. bool verbose;
  13. public:
  14. MachineIoMan(bool usessl, const char *certfile, bool beverbose);
  15. protected:
  16. /**
  17. * Specific implementations for printing messages
  18. */
  19. void printMessage(std::string msg, OutMsgType type);
  20. void printWelcomeMessage();
  21. /**
  22. * Return the specific prompt strings for IoMan prompts
  23. */
  24. std::string getCmdPrompt();
  25. };
  26. #endif