20#ifndef FASTDDS_RTPS_TRANSPORT__TRANSPORTRECEIVERINTERFACE_HPP
21#define FASTDDS_RTPS_TRANSPORT__TRANSPORTRECEIVERINTERFACE_HPP
23#include <fastdds/rtps/common/Locator.hpp>
51 const Locator& remote_locator) = 0;
Class Locator_t, uniquely identifies a communication channel for a particular transport.
Definition Locator.hpp:71
Interface against which to implement a data receiver, decoupled from transport internals.
Definition TransportReceiverInterface.hpp:34
virtual void OnDataReceived(const fastdds::rtps::octet *data, const uint32_t size, const Locator &local_locator, const Locator &remote_locator)=0
Method to be called by the transport when receiving data.
virtual ~TransportReceiverInterface()=default
Destructor.
unsigned char octet
Definition Types.hpp:83