CustomImp.h 618 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef _CustomServantImp_H_
  2. #define _CustomServantImp_H_
  3. #include "servant/Application.h"
  4. //#include "CustomServant.h"
  5. /**
  6. *
  7. *
  8. */
  9. class CustomImp : public tars::Servant
  10. {
  11. public:
  12. /**
  13. *
  14. */
  15. virtual ~CustomImp() {}
  16. /**
  17. *
  18. */
  19. virtual void initialize();
  20. /**
  21. *
  22. */
  23. virtual void destroy();
  24. //overloading method of Servant::doRequest
  25. int doRequest(tars::CurrentPtr current, vector<char>& response);
  26. //overloading method of Servant::doClose
  27. int doClose(tars::CurrentPtr current);
  28. };
  29. /////////////////////////////////////////////////////
  30. #endif