private static final class ZProxy.ZmqPump extends java.lang.Object implements ZProxy.Pump
| Modifier | Constructor and Description |
|---|---|
private |
ZmqPump() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
flow(ZProxy.Plug splug,
ZMQ.Socket source,
ZMQ.Socket capture,
ZProxy.Plug dplug,
ZMQ.Socket destination)
Transfers a message from one source to one destination, with an optional capture.
|
public boolean flow(ZProxy.Plug splug, ZMQ.Socket source, ZMQ.Socket capture, ZProxy.Plug dplug, ZMQ.Socket destination)
ZProxy.Pumpflow in interface ZProxy.Pumpsplug - the plug of the source socketsource - the socket where to receive the message from.capture - the optional sockets where to send the message to. Possibly null.dplug - the plug of the destination socketdestination - the socket where to send the message to.