EsmeReceiver.h
上传用户:hkcoast
上传日期:2007-01-12
资源大小:979k
文件大小:1k
源码类别:

手机短信编程

开发平台:

Visual C++

  1. // EsmeReceiver.h: interface for the CEsmeReceiver class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_ESMERECEIVER_H__64A6879A_2868_4ABA_9572_9E4A83E0DAE2__INCLUDED_)
  5. #define AFX_ESMERECEIVER_H__64A6879A_2868_4ABA_9572_9E4A83E0DAE2__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #include "SmppConnection.h"
  10. class SMPPLIB_DECLSPEC CEsmeReceiver : public CSmppConnection
  11. {
  12. public:
  13. CEsmeReceiver();
  14. virtual ~CEsmeReceiver();
  15. int bind(CString sysid, CString passwd, CString systype, CSmppAddress &srcrange);
  16. protected:
  17. void parse_packet(PBYTE pby, int nsz);
  18. #ifdef SMPPAPI_EVALUATION
  19. static uint32 m_eval_counter;
  20. #endif
  21. };
  22. #endif // !defined(AFX_ESMERECEIVER_H__64A6879A_2868_4ABA_9572_9E4A83E0DAE2__INCLUDED_)