📄 moclient.h
字号:
#if !defined(AFX_MOCLIENT_H__33D1C606_9F22_420C_8268_0E0F82020C0A__INCLUDED_)
#define AFX_MOCLIENT_H__33D1C606_9F22_420C_8268_0E0F82020C0A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MoClient.h : header file
//
#include "Sgip.h"
#include "md5.h"
/////////////////////////////////////////////////////////////////////////////
// CMoClient command target
class CMoSocket;
class CMoThread;
class CMoClient : public CSocket
{
// Attributes
public:
CMoThread* m_ParentThread;
int m_CurLen;
unsigned char Buffer[2000];
BOOL m_bDeleted;
CMoSocket* m_pParentSocket;
BOOL SendToIsmg(void *Buffer, int BufferLen);
char m_AuthenticatorISMG[17];
// Operations
public:
CMoClient();
virtual ~CMoClient();
// Overrides
public:
int m_ProvinceIndex;
int m_PosInArray;
void SendReportRsp(char* SequenceNumber);
void SendDeliverRsp(char* SequenceNumber,char cResult);
void SendUnbindRsp(char* SequenceNumber);
void SendBindRsp(char* SequenceNumber,char Result);
void ProcessDeliverReport(unsigned char *pBuffer, char& stat,CString& MobileNum,char* SequenceNumber,char* ReportSequence,char& ErrorCode,char&ReportType);
CString m_ReportInfo;
long m_SequenceID;
long GetSequenceID();
CString ProcessDeliver(unsigned char *pBuffer,CString& MobileNum,CString& DestNumber,int RecLength, char& Result,char* SequenceNumber,char* Linkid);
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMoClient)
public:
virtual void OnReceive(int nErrorCode);
virtual void OnClose(int nErrorCode);
//}}AFX_VIRTUAL
// Generated message map functions
//{{AFX_MSG(CMoClient)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
// Implementation
protected:
private:
void OnReceiveCmppInfo(CString MsgType,CString ChildType,CString Content);
void OnReceiveErrorInfo(CString CmppInfo);
CString m_MsgType;
CString m_ChildType;
WCHAR m_RecWchar[160];
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MOCLIENT_H__33D1C606_9F22_420C_8268_0E0F82020C0A__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -