45 lines
1004 B
C++
45 lines
1004 B
C++
// KeyList.h: interface for the CKeyList class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_KEYLIST_H__4B3E7C41_D5CB_4DAC_BBA2_D6B60D088279__INCLUDED_)
|
|
#define AFX_KEYLIST_H__4B3E7C41_D5CB_4DAC_BBA2_D6B60D088279__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include "..\SmsCenter.h"
|
|
#include "..\ProcessSocket.h"
|
|
#include "DataStruct.h"
|
|
|
|
class CKeyList
|
|
{
|
|
public:
|
|
IOCP_KEY_PTR m_Key;
|
|
long m_KeyIndex;
|
|
IOCP_IO_PTR m_IO;
|
|
long m_IOIndex;
|
|
IOCP_SQL_PTR m_SQL;
|
|
|
|
LPVOID * m_Process;
|
|
|
|
CSmsCenterDlg * m_pDlg;
|
|
|
|
public:
|
|
IOCP_SQL_PTR GetBlank_SQL();
|
|
void Close();
|
|
CProcessSocket * GetBlank_Process();
|
|
void Init(CSmsCenterDlg * pDlg);
|
|
void Close_IO();
|
|
void RemoveAt_IO(IOCP_IO_PTR pIO);
|
|
void RemoveAt_Key(IOCP_KEY_PTR pKey);
|
|
IOCP_IO_PTR GetBlank_IO();
|
|
IOCP_KEY_PTR GetBlank_Key();
|
|
CKeyList();
|
|
virtual ~CKeyList();
|
|
|
|
};
|
|
|
|
#endif // !defined(AFX_KEYLIST_H__4B3E7C41_D5CB_4DAC_BBA2_D6B60D088279__INCLUDED_)
|