 |
Belle II Software
release-05-02-19
|
12 #include <framework/core/Module.h>
14 #include <framework/pcore/zmq/sockets/ZMQClient.h>
15 #include <framework/pcore/zmq/utils/StreamHelper.h>
27 class ZMQTxWorkerModule :
public Module {
32 void event()
override;
std::string m_param_xpubProxySocketName
Parameter: name of the pub multicast socket.
void terminate() override
Terminate the client and tell the monitor, we are done.
void event() override
Pack the datastore and stream it.
int m_param_compressionLevel
Parameter: Compression level of the streamer.
bool m_firstEvent
Set to false if the objects are initialized.
Helper class for data store serialization.
std::string m_param_xsubProxySocketName
Parameter: name of the sub multicast socket.
std::string m_param_socketName
Parameter: name of the data socket.
ZMQTxWorkerModule()
Constructor setting the moudle paramters.
Abstract base class for different kinds of events.
StreamHelper m_streamer
The data store streamer.
bool m_param_handleMergeable
Parameter: Can we handle mergeables?
ZMQClient m_zmqClient
Our ZMQ client.
A helper class for communicating over ZMQ. Includes a multicast and (if needed) also a data socket.