10#include <framework/pcore/zmq/utils/ZMQParent.h>
11#include <framework/pcore/zmq/connections/ZMQConnection.h>
13#include <framework/pcore/zmq/messages/ZMQIdMessage.h>
14#include <framework/pcore/zmq/messages/ZMQNoIdMessage.h>
58 ZMQConfirmedInput(
const std::string& inputAddress,
const std::shared_ptr<ZMQParent>& parent);
113 ZMQConfirmedOutput(
const std::string& outputAddress,
const std::shared_ptr<ZMQParent>& parent);
121 void handleEvent(std::unique_ptr<ZMQNoIdMessage> message,
bool requireConfirmation =
true,
int maximalWaitTime = 10000);
Output part of a confirmed connection.
void handleEvent(std::unique_ptr< ZMQNoIdMessage > message, bool requireConfirmation=true, int maximalWaitTime=10000)
Send the message to the output (a message without a ID as there is only a single output).
long m_timespanWaitingForConfirmation
Internal monitoring how long we were waiting for confirmation messages.
void handleIncomingData()
Blocks until it can receive the (hopefully confirmation) message from the output.
unsigned int m_waitingForConfirmation
On how many confirmation messages are we still waiting?
Specialized connection over a ZMQ socket.
Abstract base class for different kinds of events.