mod_WatchDog.cpp 622 B

123456789101112131415161718192021
  1. #include "stdafx.h"
  2. #include "mod_WatchDog.h"
  3. void WatchDogServerSession::Handle_StartWatch(SpReqAnsContext<WatchDogService_StartWatch_Req,WatchDogService_StartWatch_Ans>::Pointer ctx)
  4. {
  5. m_pEntity->StartWatch(ctx);
  6. }
  7. void WatchDogServerSession::Handle_Refresh(SpReqAnsContext<WatchDogService_Refresh_Req, WatchDogService_Refresh_Ans>::Pointer ctx)
  8. {
  9. m_pEntity->Refresh(ctx);
  10. }
  11. void WatchDogServerSession::Handle_StopWatch(SpReqAnsContext<WatchDogService_StopWatch_Req, WatchDogService_StopWatch_Ans>::Pointer ctx)
  12. {
  13. m_pEntity->StopWatch(ctx);
  14. }
  15. SP_BEGIN_ENTITY_MAP()
  16. SP_ENTITY(CWatchDogEntity)
  17. SP_END_ENTITY_MAP()