PushObjectManager.h 609 B

1234567891011121314151617
  1. #pragma once
  2. #include <map>
  3. #include "PushBase.h"
  4. class CPushObjectManager
  5. {
  6. public:
  7. static int InsertPushMsgListObject(string stringUuid, string stringSenderId, string stringCaseId, string stringCaseType, string stringMsgType, string stringMsgDirection, string stringVersion,
  8. pHttpPushCallback pCallback, pHttpPushFailCallback pFailCallback);
  9. static int DeletePushObject(string);
  10. static void HandleSessionSync(string stringSessionId);
  11. static bool SomeTypePushIsRun(int nPushType);
  12. static int GetSessionId(string&);
  13. static int SetSessionId(string);
  14. public:
  15. static map<string, CPushBase*> m_map;
  16. };