Interface ZPoller.ItemCreator
- All Known Implementing Classes:
ZPoller.SimpleCreator
- Enclosing class:
ZPoller
public static interface ZPoller.ItemCreator
-
Method Summary
Modifier and TypeMethodDescriptioncreate(SelectableChannel channel, ZPoller.EventsHandler handler, int events) Creates a new holder for a poll item.create(ZMQ.Socket socket, ZPoller.EventsHandler handler, int events) Creates a new holder for a poll item.
-
Method Details
-
create
Creates a new holder for a poll item.- Parameters:
socket- the socket to pollhandler- the optional handler for polled eventsevents- the interested events- Returns:
- a new poll item holder
-
create
Creates a new holder for a poll item.- Parameters:
channel- the channel to pollhandler- the optional handler for polled events.events- the interested events- Returns:
- a new poll item holder
-