10#include <framework/pcore/zmq/connections/ZMQConnection.h> 
   11#include <framework/pcore/zmq/utils/ZMQParent.h> 
   44    ZMQRawInput(
const std::string& inputAddress, 
unsigned int maximalBufferSize, 
bool receiveEventMessages,
 
   45                const std::shared_ptr<ZMQParent>& parent);
 
   90    ZMQRawOutput(
const std::string& outputAddress, 
bool addEventSize, 
const std::shared_ptr<ZMQParent>& parent);
 
Specialized connection over a ZMQ socket.
Output connection to speak to non-zmq sockets via a ZMQ_STREAM socket.
bool m_addEventSize
Parameter to add the event size to a message.
void handleIncomingData()
Handle incoming data: a socket (dis)connect.
virtual void handleEvent(zmq::message_t message)
Pass on the message - maybe by prefixing it with a htonl-converted data size in bytes.
bool isReady() const final
If no socket is connected, this connection is not ready.
std::string m_dataIdentity
Internal storage of the connected identity to no have multiple connections.
Abstract base class for different kinds of events.