Old fashion design for PC-104
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.2 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 09/11/2003
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: LgGatewaySocketServerConnection.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of LgGatewaySocketServerConnection.h
  13. //----------------------------------------------------------------------------
  14. #ifndef __LG__REPORT__SOCKET__SERVER__CONNECTION__H__INCLUDED__
  15. #define __LG__REPORT__SOCKET__SERVER__CONNECTION__H__INCLUDED__
  16. #include "..\Socket\LgSocketServerConnection.h"
  17. #include "LgReportSocket.h"
  18. #pragma once
  19. class CLgReportSocketServer;
  20. class CLgReportSocketServerConnection :
  21. public CLgSocketServerConnection<CLgReportSocket>
  22. {
  23. public:
  24. CLgReportSocketServerConnection( CLgReportSocketServer *pServer );
  25. virtual ~CLgReportSocketServerConnection();
  26. private:
  27. virtual void Dispatch( PLG_REPORT_PACKET pPacket );
  28. protected:
  29. virtual void OnConnect( LPSOCKADDR_IN pSockAddr );
  30. virtual void OnClose( int nErrorCode );
  31. private:
  32. SOCKADDR_IN m_SockAddr;
  33. };
  34. #endif