VILLASframework
Modular co-simulation framework
|
The ZeroMQ node-type exchanges messages via the ZMTP protocol. It is similiar to the nanomsg node-type.
ZeroMQ (also known as ØMQ, 0MQ, or zmq) looks like an embeddable networking library but acts like a concurrency framework. It gives you sockets that carry atomic messages across various transports like in-process, inter-process, TCP, and multicast. You can connect sockets N-to-N with patterns like fan-out, pub-sub, task distribution, and request-reply. It's fast enough to be the fabric for clustered products. Its asynchronous I/O model gives you scalable multicore applications, built as asynchronous message-processing tasks. It has a score of language APIs and runs on most operating systems. ZeroMQ is from iMatix and is LGPLv3 open source.
The ZeroMQ node-type implements the publish/subscribe and radio/dish protocols.
This node-type requires libzmq (>= 2.2.0).
The source code of the node-type is available here: https://git.rwth-aachen.de/acs/public/villas/node/blob/master/lib/nodes/zeromq.cpp
The payload format which is used to encode and decode exchanged messages.
Note: This feature is currently broken.
You can use the villas zmq-keygen command to create a new keypair for the following configuration options:
Whether or not the encryption is enabled.
The public key of the server.
The private key of the server.