* @brief Sends raw binary data to all connected clients. */
| 712 | * @brief Sends raw binary data to all connected clients. |
| 713 | */ |
| 714 | void 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. |
no outgoing calls
no test coverage detected