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
42 lines
1.2 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 09/11/2003
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: LgGatewaySocketServerConnection.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of LgGatewaySocketServerConnection.h
|
|
//----------------------------------------------------------------------------
|
|
#ifndef __LG__REPORT__SOCKET__SERVER__CONNECTION__H__INCLUDED__
|
|
#define __LG__REPORT__SOCKET__SERVER__CONNECTION__H__INCLUDED__
|
|
|
|
#include "..\Socket\LgSocketServerConnection.h"
|
|
#include "LgReportSocket.h"
|
|
|
|
#pragma once
|
|
|
|
class CLgReportSocketServer;
|
|
|
|
class CLgReportSocketServerConnection :
|
|
public CLgSocketServerConnection<CLgReportSocket>
|
|
{
|
|
public:
|
|
CLgReportSocketServerConnection( CLgReportSocketServer *pServer );
|
|
virtual ~CLgReportSocketServerConnection();
|
|
|
|
private:
|
|
virtual void Dispatch( PLG_REPORT_PACKET pPacket );
|
|
|
|
protected:
|
|
virtual void OnConnect( LPSOCKADDR_IN pSockAddr );
|
|
virtual void OnClose( int nErrorCode );
|
|
|
|
private:
|
|
SOCKADDR_IN m_SockAddr;
|
|
};
|
|
|
|
#endif
|