public static class ZProxy.ZPump extends Object implements ZProxy.Pump
| Modifier and Type | Class and Description |
|---|---|
static interface |
ZProxy.ZPump.Transformer |
| Constructor and Description |
|---|
ZPump() |
ZPump(ZProxy.ZPump.Transformer transformer) |
| 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 ZPump()
public ZPump(ZProxy.ZPump.Transformer transformer)
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.Copyright © 2020. All rights reserved.