public class ZLoop extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ZLoop.IZLoopHandler |
Constructor and Description |
---|
ZLoop() |
Modifier and Type | Method and Description |
---|---|
int |
addPoller(ZMQ.PollItem item_,
ZLoop.IZLoopHandler handler,
Object arg) |
int |
addTimer(int delay,
int times,
ZLoop.IZLoopHandler handler,
Object arg) |
void |
destroy() |
void |
removePoller(ZMQ.PollItem item_) |
int |
removeTimer(Object arg) |
int |
start() |
void |
verbose(boolean verbose) |
public void destroy()
public int addPoller(ZMQ.PollItem item_, ZLoop.IZLoopHandler handler, Object arg)
public void removePoller(ZMQ.PollItem item_)
public int addTimer(int delay, int times, ZLoop.IZLoopHandler handler, Object arg)
public int removeTimer(Object arg)
public void verbose(boolean verbose)
public int start()