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