Home | History | Annotate | Download | only in flip_server

Lines Matching defs:EpollServer

23 // This code tracks each event generated by the epollserver,
32 // within the EpollServer class for more details.
44 class EpollServer;
65 // Called when the callback is registered into a EpollServer.
72 virtual void OnRegistration(EpollServer* eps, int fd, int event_mask) = 0;
91 // parameter for OnEvent to inform the EpollServer whether to put
110 virtual void OnShutdown(EpollServer* eps, int fd) = 0;
121 class EpollServer {
134 EpollServer();
139 virtual ~EpollServer();
277 // This function is used internally by the EpollServer, but is
322 // that are registered with the EpollServer will be put on the ready list.
323 // SetFDReady() and SetFDNotReady() will do nothing if the EpollServer
400 const EpollServer::AlarmRegToken& iterator_token);
405 // returns the number of file-descriptors registered in this EpollServer.
416 // EpollServer without using the system clock (and can avoid the flakiness
476 // Returns true when the EpollServer() is being destroyed.
503 // in order to make effective mock EpollServer objects.
977 // Returns true when the EpollServer() is being destroyed.
980 DISALLOW_COPY_AND_ASSIGN(EpollServer);
1001 virtual void OnRegistration(const EpollServer::AlarmRegToken& token,
1002 EpollServer* eps) = 0;
1014 virtual void OnShutdown(EpollServer* eps) = 0;
1039 virtual void OnRegistration(const EpollServer::AlarmRegToken& token,
1040 EpollServer* eps);
1046 virtual void OnShutdown(EpollServer* eps);
1053 const EpollServer* eps() const { return eps_; }
1056 EpollServer::AlarmRegToken token_;
1057 EpollServer* eps_;