public static class ZPoller.ZPollItem extends ZMQ.PollItem implements ZPoller.ItemHolder
Modifier and Type | Field and Description |
---|---|
private ZPoller.EventsHandler |
handler |
Constructor and Description |
---|
ZPollItem(java.nio.channels.SelectableChannel channel,
ZPoller.EventsHandler handler,
int ops) |
ZPollItem(ZMQ.Socket socket,
ZPoller.EventsHandler handler,
int ops) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
ZPoller.EventsHandler |
handler() |
int |
hashCode() |
PollItem |
item() |
ZMQ.Socket |
socket() |
base, getRawSocket, getSocket, isError, isReadable, isWritable, readyOps
private final ZPoller.EventsHandler handler
public ZPollItem(ZMQ.Socket socket, ZPoller.EventsHandler handler, int ops)
public ZPollItem(java.nio.channels.SelectableChannel channel, ZPoller.EventsHandler handler, int ops)
public PollItem item()
item
in interface ZPoller.ItemHolder
public ZMQ.Socket socket()
socket
in interface ZPoller.ItemHolder
public int hashCode()
hashCode
in class ZMQ.PollItem
public boolean equals(java.lang.Object obj)
equals
in class ZMQ.PollItem
public ZPoller.EventsHandler handler()
handler
in interface ZPoller.ItemHolder