Skip to content

Commit bbc8e42

Browse files
committed
Refs #23031: Configure client/server with default QoS
Signed-off-by: Carlosespicur <[email protected]>
1 parent eea194b commit bbc8e42

File tree

4 files changed

+0
-8
lines changed

4 files changed

+0
-8
lines changed

examples/cpp/rpc_client_server_basic/ClientApp.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,6 @@ void ClientApp::create_client(
317317
const std::string& service_name)
318318
{
319319
RequesterQos qos;
320-
qos.writer_qos.history().kind = KEEP_ALL_HISTORY_QOS;
321-
qos.reader_qos.history().kind = KEEP_ALL_HISTORY_QOS;
322320
client_ = create_CalculatorClient(*participant_, service_name.c_str(), qos);
323321

324322
if (!client_)

examples/cpp/rpc_client_server_basic/ServerApp.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ void ServerApp::create_server(
116116
std::make_shared<CalculatorServerImplementation>();
117117

118118
ReplierQos qos;
119-
qos.writer_qos.history().kind = KEEP_ALL_HISTORY_QOS;
120-
qos.reader_qos.history().kind = KEEP_ALL_HISTORY_QOS;
121119

122120
server_ = create_CalculatorServer(
123121
*participant_,

examples/cpp/rpc_client_server_feed/ClientApp.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -706,8 +706,6 @@ void ClientApp::create_client(
706706
const std::string& service_name)
707707
{
708708
RequesterQos qos;
709-
qos.writer_qos.history().kind = KEEP_ALL_HISTORY_QOS;
710-
qos.reader_qos.history().kind = KEEP_ALL_HISTORY_QOS;
711709
client_ = create_CalculatorClient(*participant_, service_name.c_str(), qos);
712710

713711
if (!client_)

examples/cpp/rpc_client_server_feed/ServerApp.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,6 @@ void ServerApp::create_server(
115115
std::make_shared<CalculatorServerImplementation>();
116116

117117
ReplierQos qos;
118-
qos.writer_qos.history().kind = KEEP_ALL_HISTORY_QOS;
119-
qos.reader_qos.history().kind = KEEP_ALL_HISTORY_QOS;
120118

121119
server_ = create_CalculatorServer(
122120
*participant_,

0 commit comments

Comments
 (0)