FeatherMC/src/network/IListenerInterface.h

15 lines
299 B
C
Raw Normal View History

2020-07-29 01:46:31 +01:00
#pragma once
#include "../Common.h"
#include "TCPCommon.h"
2020-07-29 01:46:31 +01:00
namespace Feather::Network
{
class abstract IListenerInterface
{
public:
virtual void OnClientConnect(TCPClientHandle&& client) = 0;
virtual void OnClientDisconnect(const TCPClientHandle& client) = 0;
2020-07-29 01:46:31 +01:00
};
2020-08-01 00:57:33 +01:00
}