rcpp_framework/libs/brynet/net/Channel.hpp

20 lines
321 B
C++
Raw Normal View History

2020-11-24 15:41:18 +01:00
#pragma once
namespace brynet { namespace net {
class EventLoop;
class Channel
{
public:
virtual ~Channel() = default;
private:
virtual void canSend() = 0;
virtual void canRecv() = 0;
virtual void onClose() = 0;
friend class EventLoop;
};
} }