10#include <framework/pcore/zmq/connections/ZMQConnection.h>
11#include <framework/pcore/zmq/utils/ZMQParent.h>
13#include <framework/pcore/zmq/messages/ZMQIdMessage.h>
37 ZMQSimpleConnection(
const std::string& monitoringAddress,
const std::shared_ptr<ZMQParent>& parent);
42 void handleEvent(std::unique_ptr<ZMQIdMessage> message);
Specialized connection over a ZMQ socket.
Connection type to be used for answering simple requests, e.g.
std::unique_ptr< ZMQIdMessage > handleIncomingData()
Block until there is an incoming message and return it as a ZMQIdMessage.
void handleEvent(std::unique_ptr< ZMQIdMessage > message)
Send the given message via the socket (the message includes the identity to send to)
Abstract base class for different kinds of events.