 |
Belle II Software
release-05-02-19
|
12 #include <daq/hbasf2/apps/ZMQApp.h>
13 #include <framework/pcore/zmq/connections/ZMQConfirmedConnection.h>
14 #include <framework/pcore/zmq/connections/ZMQLoadBalancedConnection.h>
15 #include <framework/pcore/zmq/connections/ZMQRawConnection.h>
16 #include <framework/pcore/zmq/connections/ZMQNullConnection.h>
28 class ZMQReadySender :
public ZMQStandardApp<ZMQLoadBalancedInput, ZMQNullConnection> {
33 void addOptions(po::options_description& desc) final;
52 void addOptions(po::options_description& desc)
final;
70 void addOptions(po::options_description& desc) final;
78 std::
string m_outputAddress;
App to only send a confirmation on every incoming message - behaves the same as the input of a (final...
Generic base class for all standalone ZMQ applications.
void initialize() final
Initialize the two connections using the command line arguments.
App to mimick a basf2-worker by accepting an incoming message with a ready message and sending it out...
std::string m_inputAddress
Parameter: input address.
virtual void handleInput()
Will get called for every message on the input connection. Can be overridden in a derived class....
Connection doing just nothing: without the capability to pull, send or receive. Useful for template i...
Abstract base class for different kinds of events.
unsigned int m_bufferSize
Parameter: buffer size.
void addOptions(po::options_description &desc) final
Add the parameters to the cmd line arguments.