Class TransportReceiverInterface
Defined in File TransportReceiverInterface.h
Inheritance Relationships
Derived Type
public eprosima::fastrtps::rtps::ReceiverResource
(Class ReceiverResource)
Class Documentation
-
class TransportReceiverInterface
Interface against which to implement a data receiver, decoupled from transport internals.
Subclassed by eprosima::fastrtps::rtps::ReceiverResource
Public Functions
-
virtual ~TransportReceiverInterface() = default
Destructor.
-
virtual void OnDataReceived(const fastrtps::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.
- Parameters
data – Pointer to the received data.
size – Number of bytes received.
local_locator – Locator identifying the local endpoint.
remote_locator – Locator identifying the remote endpoint.
-
virtual ~TransportReceiverInterface() = default