public static class ZPoller.ZPollItem extends ZMQ.PollItem implements ZPoller.ItemHolder
Constructor and Description |
---|
ZPollItem(SelectableChannel channel,
ZPoller.EventsHandler handler,
int ops) |
ZPollItem(ZMQ.Socket socket,
ZPoller.EventsHandler handler,
int ops) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ZPoller.EventsHandler |
handler() |
int |
hashCode() |
PollItem |
item() |
ZMQ.Socket |
socket() |
base, getRawSocket, getSocket, isError, isReadable, isWritable, readyOps
public ZPollItem(ZMQ.Socket socket, ZPoller.EventsHandler handler, int ops)
public ZPollItem(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(Object obj)
equals
in class ZMQ.PollItem
public ZPoller.EventsHandler handler()
handler
in interface ZPoller.ItemHolder
Copyright © 2021. All rights reserved.