Implement raw TCP/IP in jfjoch_broker and jfjoch_writer
Some checks failed
Build Packages / build:rpm (rocky8_nocuda) (push) Has been cancelled
Build Packages / build:rpm (rocky9_nocuda) (push) Has been cancelled
Build Packages / build:rpm (ubuntu2204_nocuda) (push) Has been cancelled
Build Packages / build:rpm (ubuntu2404_nocuda) (push) Has been cancelled
Build Packages / build:rpm (rocky8_sls9) (push) Has been cancelled
Build Packages / build:rpm (rocky9_sls9) (push) Has been cancelled
Build Packages / build:rpm (rocky8) (push) Has been cancelled
Build Packages / build:rpm (rocky9) (push) Has been cancelled
Build Packages / build:rpm (ubuntu2204) (push) Has been cancelled
Build Packages / build:rpm (ubuntu2404) (push) Has been cancelled
Build Packages / Generate python client (push) Has been cancelled
Build Packages / Build documentation (push) Has been cancelled
Build Packages / Unit tests (push) Has been cancelled
Build Packages / Create release (push) Has been cancelled
Some checks failed
Build Packages / build:rpm (rocky8_nocuda) (push) Has been cancelled
Build Packages / build:rpm (rocky9_nocuda) (push) Has been cancelled
Build Packages / build:rpm (ubuntu2204_nocuda) (push) Has been cancelled
Build Packages / build:rpm (ubuntu2404_nocuda) (push) Has been cancelled
Build Packages / build:rpm (rocky8_sls9) (push) Has been cancelled
Build Packages / build:rpm (rocky9_sls9) (push) Has been cancelled
Build Packages / build:rpm (rocky8) (push) Has been cancelled
Build Packages / build:rpm (rocky9) (push) Has been cancelled
Build Packages / build:rpm (ubuntu2204) (push) Has been cancelled
Build Packages / build:rpm (ubuntu2404) (push) Has been cancelled
Build Packages / Generate python client (push) Has been cancelled
Build Packages / Build documentation (push) Has been cancelled
Build Packages / Unit tests (push) Has been cancelled
Build Packages / Create release (push) Has been cancelled
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#include "OpenAPIConvert.h"
|
||||
#include "Detector_type.h"
|
||||
#include "../image_pusher/NonePusher.h"
|
||||
#include "../image_pusher/TcpStreamPusher.h"
|
||||
#include "../image_pusher/TCPStreamPusher.h"
|
||||
|
||||
DetectorGeometryModular ParseStandardDetectorGeometry(const org::openapitools::server::model::Detector &j) {
|
||||
auto s = j.getStandardGeometry();
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// SPDX-FileCopyrightText: 2025 Filip Leonarski, Paul Scherrer Institute <filip.leonarski@psi.ch>
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
#include "TcpImagePuller.h"
|
||||
#include "TCPImagePuller.h"
|
||||
|
||||
#include <sys/socket.h>
|
||||
#include <arpa/inet.h>
|
||||
@@ -1,13 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2025 Filip Leonarski, Paul Scherrer Institute <filip.leonarski@psi.ch>
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
#include "TcpStreamPusher.h"
|
||||
#include "TCPStreamPusher.h"
|
||||
|
||||
|
||||
TCPStreamPusher::TCPStreamPusher(const std::vector<std::string> &addr,
|
||||
std::optional<int32_t> send_buffer_size,
|
||||
std::optional<size_t> zerocopy_threshold,
|
||||
size_t send_queue_size)
|
||||
std::optional<int32_t> send_buffer_size,
|
||||
std::optional<size_t> zerocopy_threshold,
|
||||
size_t send_queue_size)
|
||||
: serialization_buffer(256 * 1024 * 1024),
|
||||
serializer(serialization_buffer.data(), serialization_buffer.size()) {
|
||||
if (addr.empty())
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "TcpStreamPusherSocket.h"
|
||||
#include "TCPStreamPusherSocket.h"
|
||||
#include "ZMQWriterNotificationPuller.h"
|
||||
|
||||
class TCPStreamPusher : public ImagePusher {
|
||||
@@ -1,7 +1,7 @@
|
||||
// SPDX-FileCopyrightText: 2025 Filip Leonarski, Paul Scherrer Institute <filip.leonarski@psi.ch>
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
#include "TcpStreamPusherSocket.h"
|
||||
#include "TCPStreamPusherSocket.h"
|
||||
|
||||
#include <cstring>
|
||||
#include <thread>
|
||||
@@ -4,8 +4,8 @@
|
||||
#include <random>
|
||||
#include <catch2/catch_all.hpp>
|
||||
|
||||
#include "../image_pusher/TcpStreamPusher.h"
|
||||
#include "../image_puller/TcpImagePuller.h"
|
||||
#include "../image_pusher/TCPStreamPusher.h"
|
||||
#include "../image_puller/TCPImagePuller.h"
|
||||
|
||||
TEST_CASE("TCPImageCommTest_2Writers", "[TCP]") {
|
||||
const size_t nframes = 128;
|
||||
@@ -8,7 +8,7 @@
|
||||
#include "StreamWriter.h"
|
||||
#include "../common/print_license.h"
|
||||
#include "../image_puller/ZMQImagePuller.h"
|
||||
#include "../image_puller/TcpImagePuller.h"
|
||||
#include "../image_puller/TCPImagePuller.h"
|
||||
|
||||
static Logger logger("jfjoch_writer");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user