Interface ZPoller.EventsHandler
- All Known Implementing Classes:
ZActor.Double, ZPoller.ComposeEventsHandler, ZPoller.CompositePollItem
- Enclosing class:
ZPoller
public static interface ZPoller.EventsHandler
-
Method Summary
Modifier and TypeMethodDescriptionbooleanevents(SelectableChannel channel, int events) Called when the poller intercepts events.booleanevents(ZMQ.Socket socket, int events) Called when the poller intercepts events.
-
Method Details
-
events
Called when the poller intercepts events.- Parameters:
socket- the socket with eventsevents- the interesting events as an ORed combination of IN, OUT, ERR- Returns:
- true to continue the polling, false to stop it
-
events
Called when the poller intercepts events.- Parameters:
channel- the channel with eventsevents- the interesting events as an ORed combination of IN, OUT, ERR- Returns:
- true to continue the polling, false to stop it
-