Blame view

src/Common/BaseSocketSendThread.h 685 Bytes
e30d6793   Zou XiKun   v0.0.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  #if !defined(AFX_BASESOCKETSENDTHREAD_H__8BBA1E54_5FE7_425F_ADFC_2C6E04C7C1C7__INCLUDED_)
  #define AFX_BASESOCKETSENDTHREAD_H__8BBA1E54_5FE7_425F_ADFC_2C6E04C7C1C7__INCLUDED_
  
  class CBaseSocket;
  #include "BaseThread.h"
  
  class CBaseSocketSendThread : public CBaseThread
  {
  public:
  	CBaseSocketSendThread();           // protected constructor used by dynamic creation
  	~CBaseSocketSendThread();
  
  // Operations
  public:
  	void SetSocket(CBaseSocket* pSocket);
  
  public:
  	virtual BOOL InitInstance();
  	virtual int ExitInstance();
  	virtual int Run();
  
  // Implementation
  protected:
  	CBaseSocket* m_pSocket;
  };
  
  #endif
  /////////////////////////////////////////////////////////////////////////////