Interface ZProxy.Pump
- All Known Implementing Classes:
ZProxy.ZmqPump, ZProxy.ZPump
- Enclosing class:
ZProxy
public static interface ZProxy.Pump
-
Method Summary
Modifier and TypeMethodDescriptionbooleanflow(ZProxy.Plug src, ZMQ.Socket source, ZMQ.Socket capture, ZProxy.Plug dst, ZMQ.Socket destination) Transfers a message from one source to one destination, with an optional capture.
-
Method Details
-
flow
boolean flow(ZProxy.Plug src, ZMQ.Socket source, ZMQ.Socket capture, ZProxy.Plug dst, ZMQ.Socket destination) Transfers a message from one source to one destination, with an optional capture.- Parameters:
src- 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.dst- the plug of the destination socketdestination- the socket where to send the message to.- Returns:
- false in case of error or interruption, true if successfully transferred the message
-