public class ZLoop extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ZLoop.IZLoopHandler |
| Constructor and Description |
|---|
ZLoop(ZContext ctx) |
ZLoop(ZMQ.Context context) |
| Modifier and Type | Method and Description |
|---|---|
int |
addPoller(ZMQ.PollItem pollItem,
ZLoop.IZLoopHandler handler,
Object arg) |
int |
addTimer(int delay,
int times,
ZLoop.IZLoopHandler handler,
Object arg) |
void |
destroy()
Deprecated.
no-op behaviour
|
void |
removePoller(ZMQ.PollItem pollItem) |
int |
removeTimer(Object arg) |
int |
start() |
void |
verbose(boolean verbose) |
public ZLoop(ZMQ.Context context)
public ZLoop(ZContext ctx)
@Deprecated public void destroy()
public int addPoller(ZMQ.PollItem pollItem, ZLoop.IZLoopHandler handler, Object arg)
public void removePoller(ZMQ.PollItem pollItem)
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()
Copyright © 2020. All rights reserved.