Uses of Class
org.zeromq.ZMsg
Packages that use ZMsg
Package
Description
Provides high-level bindings for ØMQ.
Provides utility classes for ØMQ zproto.
-
Uses of ZMsg in org.zeromq
Fields in org.zeromq declared as ZMsgMethods in org.zeromq that return ZMsgModifier and TypeMethodDescriptionZMsg.addFirst
(byte[] data) ZMsg.addLast
(byte[] data) Add a String as a new ZFrame to the end of listZMsg.append
(byte[] data) Adds bytes as a new frame in the message.Adds a string as a new frame in the message.ZProxy.command
(ZProxy.Command command, ZMsg msg, boolean sync) Sends a command message to the proxy actor.Configures the proxy.ZMsg.dump()
ZMsg.dump
(Appendable out) Dump the message in human readable format.ZMsg.duplicate()
Creates copy of this ZMsg.static ZMsg
ZMsg.load
(DataInputStream file) Load / append a ZMsg from an open DataInputStreamprivate ZMsg
ZAuth.ZapReply.msg()
static ZMsg
ZMsg.newStringMsg
(String... strings) Create a new ZMsg from one or more StringsZMsg.push
(byte[] data) ZAgent.recv()
Receives a control message sent from the Plateau in the Corbeille.ZAgent.recv
(boolean wait) Receives a control message sent from the Plateau in the Corbeille.ZAgent.recv
(int timeout) Receives a control message sent from the Plateau in the Corbeille.ZAgent.SimpleAgent.recv()
ZAgent.SimpleAgent.recv
(boolean wait) ZAgent.SimpleAgent.recv
(int timeout) ZStar.recv()
ZStar.recv
(boolean wait) ZStar.recv
(int timeout) static ZMsg
ZMsg.recvMsg
(ZMQ.Socket socket) Receives message from socket, returns ZMsg object or null if the recv was interrupted.static ZMsg
ZMsg.recvMsg
(ZMQ.Socket socket, boolean wait) Receives message from socket, returns ZMsg object or null if the recv was interrupted.static ZMsg
ZMsg.recvMsg
(ZMQ.Socket socket, int flag) Receives message from socket, returns ZMsg object or null if the recv was interrupted.private ZMsg
ZProxy.ProxyActor.status()
ZProxy.ZPump.Identity.transform
(ZMsg msg, ZProxy.Plug src, ZProxy.Plug dst) ZProxy.ZPump.Transformer.transform
(ZMsg msg, ZProxy.Plug src, ZProxy.Plug dst) Transforms a ZMsg into another ZMsg.Push frame plus empty frame to front of message, before 1st frame.Methods in org.zeromq with parameters of type ZMsgModifier and TypeMethodDescriptionZProxy.command
(ZProxy.Command command, ZMsg msg, boolean sync) Sends a command message to the proxy actor.boolean
Configures with ad-hoc message.boolean
boolean
boolean
Configures the proxy.boolean
ZProxy.Proxy.configure
(ZMQ.Socket pipe, ZMsg cfg, ZMQ.Socket frontend, ZMQ.Socket backend, ZMQ.Socket capture, Object... args) Configures the proxy with a custom message.boolean
ZProxy.Proxy.SimpleProxy.configure
(ZMQ.Socket pipe, ZMsg cfg, ZMQ.Socket frontend, ZMQ.Socket backend, ZMQ.Socket capture, Object... args) private static ZAuth.ZapReply
boolean
ZProxy.Proxy.restart
(ZMsg cfg, ZMQ.Socket socket, ZProxy.Plug place, Object... args) Performs a hot restart of the given socket.boolean
ZProxy.Proxy.SimpleProxy.restart
(ZMsg cfg, ZMQ.Socket socket, ZProxy.Plug place, Object... args) Restarts the proxy.static boolean
ZMsg.save
(ZMsg msg, DataOutputStream file) Save message to an open data output stream.boolean
Sends a control message from the Corbeille to the Plateau.boolean
Sends a control message from Corbeille side to the Plateau side.boolean
boolean
boolean
boolean
boolean
ZSocket.sendMessage
(ZMsg message) ZProxy.ZPump.Identity.transform
(ZMsg msg, ZProxy.Plug src, ZProxy.Plug dst) ZProxy.ZPump.Transformer.transform
(ZMsg msg, ZProxy.Plug src, ZProxy.Plug dst) Transforms a ZMsg into another ZMsg.Method parameters in org.zeromq with type arguments of type ZMsgModifier and TypeMethodDescriptionstatic void
ZMsg.recvMsg
(ZMQ.Socket socket, int flags, Consumer<ZMsg> handler) This API is in DRAFT state and is subject to change at ANY time until declared stable handle incoming message with a handlerstatic void
ZMsg.recvMsg
(ZMQ.Socket socket, int flags, Consumer<ZMsg> handler, Consumer<ZMQException> exceptionHandler) This API is in DRAFT state and is subject to change at ANY time until declared stable handle incoming message with a handlerConstructors in org.zeromq with parameters of type ZMsg -
Uses of ZMsg in org.zeromq.proto
Methods in org.zeromq.proto that return ZMsgModifier and TypeMethodDescriptionZPicture.msgBinaryPicture
(String picture, Object... args) Creates a binary encoded 'picture' message to the socket (or actor), so it can be sent.