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.
33 lines
761 B
33 lines
761 B
//========= Copyright (c) 1996-2005, Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
// $Workfile: $
|
|
// $Date: $
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
// $Log: $
|
|
//
|
|
// $NoKeywords: $
|
|
//=============================================================================//
|
|
#if !defined( INETMSGHANDLER_H )
|
|
#define INETMSGHANDLER_H
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "inetmessage.h"
|
|
|
|
class INetChannel;
|
|
typedef struct netpacket_s netpacket_t;
|
|
|
|
class IConnectionlessPacketHandler
|
|
{
|
|
public:
|
|
virtual ~IConnectionlessPacketHandler( void ) {};
|
|
|
|
virtual bool ProcessConnectionlessPacket( netpacket_t *packet ) = 0; // process a connectionless packet
|
|
};
|
|
|
|
|
|
#endif // INETMSGHANDLER_H
|