Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion code/DDSCodeTester.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,25 @@ class CustomChainingTransport : public eprosima::fastdds::rtps::ChainingTranspor

// Call low level transport
return low_sender_resource->send(buffers, total_bytes, destination_locators_begin,
destination_locators_end, timeout);
destination_locators_end, timeout, 0);
}

bool send_w_priority(
eprosima::fastdds::rtps::SenderResource* low_sender_resource,
const std::vector<eprosima::fastdds::rtps::NetworkBuffer>& buffers,
uint32_t total_bytes,
eprosima::fastdds::rtps::LocatorsIterator* destination_locators_begin,
eprosima::fastdds::rtps::LocatorsIterator* destination_locators_end,
const std::chrono::steady_clock::time_point& timeout,
int32_t transport_priority) override
{
//
// Preprocess outcoming buffer.
//

// Call low level transport
return low_sender_resource->send(buffers, total_bytes, destination_locators_begin,
destination_locators_end, timeout, transport_priority);
}

void receive(
Expand Down