FeatherMC/src/network/IListenerInterface.h

15 lines
293 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;
2020-08-01 04:54:31 +01:00
virtual void OnClientDisconnect(const TCPClient* client) = 0;
2020-07-29 01:46:31 +01:00
};
2020-08-01 00:57:33 +01:00
}