blob: c3b5a4aa6be586db9040448019921c0ffea136db (
plain) (
blame)
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
31
32
33
34
35
36
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================
#ifndef SERVERPINGMSGHANDLERDETAILS_H
#define SERVERPINGMSGHANDLERDETAILS_H
#ifdef _WIN32
#pragma once
#endif
#include "Socket.h"
class CServerPing;
//-----------------------------------------------------------------------------
// Purpose: Socket handler for pinging internet servers
//-----------------------------------------------------------------------------
class CServerPingMsgHandlerDetails : public CMsgHandler
{
public:
CServerPingMsgHandlerDetails(CServerPing *baseobject, HANDLERTYPE type, void *typeinfo = NULL);
virtual bool Process(netadr_t *from, CMsgBuffer *msg);
private:
// the parent class that we push info back to
CServerPing *m_pServerPing;
};
#endif // SERVERPINGMSGHANDLERDETAILS_H
|