2020-07-29 01:46:31 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "../Common.h"
|
2020-08-01 04:38:20 +01:00
|
|
|
#include "TCPCommon.h"
|
2020-07-29 01:46:31 +01:00
|
|
|
|
|
|
|
namespace Feather::Network
|
|
|
|
{
|
|
|
|
class abstract IListenerInterface
|
|
|
|
{
|
|
|
|
public:
|
2020-08-01 04:38:20 +01:00
|
|
|
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
|
|
|
}
|