a8/a8/epolleventhandler.h
2020-01-09 15:59:26 +08:00

17 lines
298 B
C++

#ifndef A8_EPOLLEVENTHANDLER_H
#define A8_EPOLLEVENTHANDLER_H
namespace a8
{
class EpollEventHandler
{
public:
virtual void SetEpollFd(int epoll_fd) = 0;
virtual void DoSend() = 0;
virtual void DoRecv() = 0;
virtual void DoError() = 0;
};
}
#endif