SDC C-Project CF Review 프로그램
kojingeun
2023-11-24 c112cf54a238afa473e7eb0ea6298e06f4957658
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#pragma once
 
#include <vector>
#include "IOCPNetwork/IOCPNetwork2Parent.h"
 
 
class CNetServer;
class CGlassResult;
class SReviewResult;
 
class CResultServerControl : public IIOCPNetwork2Parent
{
public:
    CResultServerControl(void);
    virtual ~CResultServerControl(void);
 
    BOOL SendReviewResult(int nModuleIdx, int nResultIdx, const SReviewResult* pReviewResult);
 
protected:
    int        InitResultServer();
    void    DeinitResultServer();
 
    // net iocp 2 parent
    virtual void    IOCPNet2P_Connected(int Type);
    virtual void    IOCPNet2P_Disconnected(int Type, int nModuleNo = -1);
    virtual BOOL    IOCPNet2P_Received(int Type, CNetPacket* pPacket, __int64 nContext = -1);
 
protected:
    CNetServer*        m_pServerSocket;
};