DemoServer.h 435 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef _DemoServer_H_
  2. #define _DemoServer_H_
  3. #include <iostream>
  4. #include "servant/Application.h"
  5. using namespace tars;
  6. /**
  7. *
  8. **/
  9. class DemoServer : public Application
  10. {
  11. public:
  12. /**
  13. *
  14. **/
  15. virtual ~DemoServer() {};
  16. /**
  17. *
  18. **/
  19. virtual void initialize();
  20. /**
  21. *
  22. **/
  23. virtual void destroyApp();
  24. };
  25. extern DemoServer g_app;
  26. ////////////////////////////////////////////
  27. #endif