Package org.zeromq
Interface ZProxy.Pump
-
- All Known Implementing Classes:
ZProxy.ZmqPump,ZProxy.ZPump
- Enclosing class:
- ZProxy
public static interface ZProxy.Pump
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanflow(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 Detail
-
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
-
-