MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / hotpathTxData

Method hotpathTxData

app/src/API/Server.cpp:714–723  ·  view source on GitHub ↗

* @brief Sends raw binary data to all connected clients. */

Source from the content-addressed store, hash-verified

712 * @brief Sends raw binary data to all connected clients.
713 */
714void API::Server::hotpathTxData(const QByteArray& data)
715{
716 Q_ASSERT(m_worker);
717
718 if (!enabled())
719 return;
720
721 auto* worker = static_cast<ServerWorker*>(m_worker);
722 QMetaObject::invokeMethod(worker, "writeRawData", Qt::QueuedConnection, Q_ARG(QByteArray, data));
723}
724
725/**
726 * @brief Registers a new structured data frame.

Callers 3

processPayloadMethod · 0.45
onRawDataReceivedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected