//---------------------------------------------------------------------------- // Laser Guard Ltd. // Copyright © 2000-2002. All Rights Reserved. // Version 1.0 01/01/2000 // Last modification: 08/10/2003 // PROJECT: // SUBSYSTEM: // FILE: LgRemoteServerTcpIp.h // AUTHOR: Sergey Chizhevskiy // OVERVIEW // ~~~~~~~~ // Header file of LgRemoteServerTcpIp.h //---------------------------------------------------------------------------- #ifndef __VIDEO__SERVER__H__INCLUDED__ #define __VIDEO__SERVER__H__INCLUDED__ #if _MSC_VER > 1000 #pragma once #endif #include "LgTcpPacket.h" #include "LgRemoteSocket.h" #include "LgRemoteInterface.h" #include "..\..\LgLib\Socket\LgSocketServer.h" class CLgRemoteServerTcpIpSession; class CLgRemoteServerTcpIpConnection; class CLgRemoteServerTcpIp : public CLgSocketServer { public: CLgRemoteServerTcpIp(); virtual ~CLgRemoteServerTcpIp(); public: void Destroy(); public: BOOL AssignSession( CLgRemoteServerTcpIpConnection*, PINT pSessionID, BYTE eConnectionType, BYTE eSessionType ); BOOL GetSessionList( BYTE eSessionType, LG_TCP_PACKET_SESSION_INFO::PSESSION_INFO_DATA* ppSessionInfo, PINT pSessionInfoSize ); private: virtual void OnDeleteConnection( CLgSocketServerConnection* ); virtual CLgSocketServerConnection* OnCreateConnection(); private: CLgArrayP m_SessionArray; CLgArrayP m_ConnectionArray; }; #endif