CustomServer.h 446 B

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