Lines Matching full:callback
65 // Called when the callback is registered into a EpollServer.
67 // eps - the poll server into which this callback was registered
100 // replaced - If true, this callback is being replaced by another, otherwise
144 // Register a callback to be called whenever an event contained
148 // Note that only one callback is allowed to be registered for
151 // If a callback is registered for a file-descriptor which has already
152 // been registered, then the previous callback is unregistered with
153 // the 'replaced' flag set to true. I.e. the previous callback's
157 // The epoll server does NOT take on ownership of the callback: the callback
164 // the events for which the callback would like to be
172 // callback is called when 'fd' is available for writing.
182 // callback is called when 'fd' is available for reading or writing.
192 // callback is called when 'fd' is available for reading.
201 // Removes the FD and the associated callback from the pollserver.
202 // If the callback is registered with other FDs, they will continue
203 // to be processed using the callback without modification.
269 // Looks up the callback associated with the file-desriptor 'fd'.
270 // If a callback is associated with this file-descriptor, then
274 // If no callback is registered for this file-descriptor, nothing
280 // as the callback is concerned) to having a real event generated
304 // from blocked to unblocked) events are sent. A callback can put itself on
309 // callback's OnEvent() method is invoked. To stay on the ready list, the
314 // When the callback for a edge triggered fd hits the falling edge (about
327 // which should be sent to the callback, SetFDReady() requests the caller
355 // If the callback returns a positive number from its OnAlarm() function,
356 // then the callback will be re-registered at that time, else the alarm
360 // registered. If a user wants to register a callback again it should first
361 // unregister the previous callback before calling RegisterAlarm again.
372 // WaitForEvents. As with 'RegisterAlarm()', if the callback returns a
373 // positive number from its OnAlarm() function, then the callback will be
381 // registered. If a user wants to register a callback again it should first
382 // unregister the previous callback before calling RegisterAlarm again.
398 // iterator_token - iterator to the alarm callback to unregister.
486 // ready list if the callback requests it (by checking that out_ready_mask
544 // A callback. If the fd is unregistered inside the callchain of OnEvent,
551 // the current event_mask registered for this callback.
637 // Note that a callback (B) may get a spurious event if
638 // another callback (A) has closed a file-descriptor N, and
639 // the callback (B) has a newly opened file-descriptor, which
960 // The callback registered to the fds below. As the purpose of their
987 // WARNING: If a token was saved to refer to an alarm callback, OnAlarm must
1006 // WARNING: It is not valid to unregister a callback and then use the token
1007 // that was saved to refer to the callback.