SmppConnection.h
资源名称:smpplib.zip [点击查看]
上传用户:hkcoast
上传日期:2007-01-12
资源大小:979k
文件大小:1k
源码类别:
手机短信编程
开发平台:
Visual C++
- // SmppConnection.h: interface for the CSmppConnection class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_SMPPCONNECTION_H__9FD3F262_D5BF_404B_AEB6_5895317DCEE4__INCLUDED_)
- #define AFX_SMPPCONNECTION_H__9FD3F262_D5BF_404B_AEB6_5895317DCEE4__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "ServerLink.h"
- class SMPPLIB_DECLSPEC CSmppConnection : public CServerLink
- {
- public:
- CSmppConnection();
- virtual ~CSmppConnection();
- int bind(CString sysid, CString passwd, CString systype, CString addrrange);
- virtual int bind(CString sysid, CString passwd, CString systype, CSmppAddress &addrrange) = 0;
- int unbind();
- int enquireLink();
- protected:
- CString m_system_id;
- CString m_password;
- CString m_system_type;
- CSmppAddress m_address_range;
- };
- #endif // !defined(AFX_SMPPCONNECTION_H__9FD3F262_D5BF_404B_AEB6_5895317DCEE4__INCLUDED_)