//---------------------------------------------------------------------------- // Laser Guard Ltd. // Copyright © 2000-2002. All Rights Reserved. // Version 1.0 01/01/2000 // Last modification: 08/10/2003 // PROJECT: // SUBSYSTEM: // FILE: LgNetSocketDevice.h // AUTHOR: Sergey Chizhevskiy // OVERVIEW // ~~~~~~~~ // Header file of LgNetSocketDevice.h //---------------------------------------------------------------------------- #ifndef __LG__NET__SOCKET__DEVICE__H__INCLUDED__ #define __LG__NET__SOCKET__DEVICE__H__INCLUDED__ #if _MSC_VER > 1000 #pragma once #endif #include "LgNetDevice.h" #include "..\Comm\Protocol.h" class CLgNetSocket; class CLgNetSocket; class CLgNetSocketDevice : public CLgNetDevice, public CLgLinkSP { public: CLgNetSocketDevice(); virtual ~CLgNetSocketDevice(); /* public: virtual BOOL AttachSocket( CLgNetSocket *pSocket ); virtual BOOL DetachSocket(); */ public: virtual BOOL DeviceProc( CLgNetSocket *pSocket, CProtocol *pProtocol ) = 0; /* public: CLgProtectedLinkEx& GetSocketLink() { return m_SocketLink; } */ /* private: CLgProtectedLinkEx m_SocketLink; */ }; #endif