#if !defined(AFX_SOCKETSECSGEM_H__425E51A1_8AB7_11D3_9D78_00AA00C22D4C__INCLUDED_) #define AFX_SOCKETSECSGEM_H__425E51A1_8AB7_11D3_9D78_00AA00C22D4C__INCLUDED_ #ifdef SECSGEM_EXPORTS #define SECSGEM_DLL __declspec(dllexport) #else #define SECSGEM_DLL __declspec(dllimport) #endif //class CLSLotInfo; class CSGManager; ///////////////////////////////////////////////////////////////////////////// // CSocket2LS command target class CSocketSecsGem : public CSocket { // Attributes public: CSGManager *m_pSGM; public: CSocketSecsGem(CSGManager*); virtual ~CSocketSecsGem(); // Overrides public: // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CSocket2GP) public: virtual void OnAccept(int nErrorCode); virtual void OnSend(int nErrorCode); //virtual void OnReceive(int nErrorCode); virtual void OnClose(int nErrorCode); virtual void OnConnect(int nErrorCode); virtual BOOL OnMessagePending(); virtual void OnOutOfBandData(int nErrorCode); virtual int Receive(void* lpBuf, int nBufLen, int nFlags = 0); virtual int Send(const void* lpBuf, int nBufLen, int nFlags = 0); //}}AFX_VIRTUAL // Generated message map functions //{{AFX_MSG(CSocket2GP) // NOTE - the ClassWizard will add and remove member functions here. //}}AFX_MSG // Implementation virtual void OnReceive(int nErrorCode); }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Developer Studio will insert additional declarations immediately before the previous line. #endif // !defined(AFX_SOCKETSECSGEM_H__425E51A1_8AB7_11D3_9D78_00AA00C22D4C__INCLUDED_)