Home | History | Annotate | Download | only in flip_server

Lines Matching defs:EpollServer

20 // This code tracks each event generated by the epollserver,
29 // within the EpollServer class for more details.
43 class EpollServer;
64 // Called when the callback is registered into a EpollServer.
71 virtual void OnRegistration(EpollServer* eps, int fd, int event_mask) = 0;
90 // parameter for OnEvent to inform the EpollServer whether to put
109 virtual void OnShutdown(EpollServer* eps, int fd) = 0;
120 class EpollServer {
133 EpollServer();
138 virtual ~EpollServer();
276 // This function is used internally by the EpollServer, but is
321 // that are registered with the EpollServer will be put on the ready list.
322 // SetFDReady() and SetFDNotReady() will do nothing if the EpollServer
399 const EpollServer::AlarmRegToken& iterator_token);
404 // returns the number of file-descriptors registered in this EpollServer.
415 // EpollServer without using the system clock (and can avoid the flakiness
475 // Returns true when the EpollServer() is being destroyed.
498 // in order to make effective mock EpollServer objects.
967 // Returns true when the EpollServer() is being destroyed.
970 DISALLOW_COPY_AND_ASSIGN(EpollServer);
991 virtual void OnRegistration(const EpollServer::AlarmRegToken& token,
992 EpollServer* eps) = 0;
1004 virtual void OnShutdown(EpollServer* eps) = 0;
1029 virtual void OnRegistration(const EpollServer::AlarmRegToken& token,
1030 EpollServer* eps) OVERRIDE;
1036 virtual void OnShutdown(EpollServer* eps) OVERRIDE;
1043 const EpollServer* eps() const { return eps_; }
1046 EpollServer::AlarmRegToken token_;
1047 EpollServer* eps_;