12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- #ifndef _TestPushServantImp_H_
- #define _TestPushServantImp_H_
- #include "servant/Application.h"
- //#include "TestPushServant.h"
- /**
- *
- *
- */
- class TestPushServantImp : public tars::Servant
- {
- public:
- /**
- *
- */
- virtual ~TestPushServantImp() {}
- /**
- *
- */
- virtual void initialize();
- /**
- *
- */
- virtual void destroy();
- /**
- *
- */
- virtual int test(tars::TarsCurrentPtr current) { return 0;};
- //重载Servant的doRequest方法
- int doRequest(tars::TarsCurrentPtr current, vector<char>& response);
- //重载Servant的doClose方法
- int doClose(tars::TarsCurrentPtr current);
- };
- /////////////////////////////////////////////////////
- #endif
|