15#ifndef FASTDDS_DDS_RPC__REPLIER_HPP
16#define FASTDDS_DDS_RPC__REPLIER_HPP
18#include <fastdds/dds/core/LoanableSequence.hpp>
19#include <fastdds/dds/rpc/RequestInfo.hpp>
20#include <fastdds/dds/rpc/RPCEntity.hpp>
Class DataReader, contains the actual implementation of the behaviour of the Subscriber.
Definition DataReader.hpp:83
Class DataWriter, contains the actual implementation of the behaviour of the DataWriter.
Definition DataWriter.hpp:67
A collection of generic opaque pointers that can receive the buffer from outside (loan).
Definition LoanableCollection.hpp:34
A type-safe, ordered collection of elements that can receive the buffer from outside (loan).
Definition LoanableSequence.hpp:63
Abstract base class for all RPC Objects.
Definition RPCEntity.hpp:30
Base class for a Replier in the RPC communication.
Definition Replier.hpp:39
~Replier()=default
Destructor.
virtual ReturnCode_t take_request(LoanableCollection &data, LoanableSequence< RequestInfo > &info)=0
Take all request messages stored in the Replier DataReader's history.
virtual ReturnCode_t send_reply(void *data, const RequestInfo &info)=0
Send a reply message.
virtual const std::string & get_service_name() const =0
Returns the name of the service to which the replier belongs.
virtual ReturnCode_t return_loan(LoanableCollection &data, LoanableSequence< RequestInfo > &info)=0
This operation indicates to the Replier's DataReader that the application is done accessing the colle...
virtual DataReader * get_replier_reader() const =0
Getter for the Replier's DataReader.
virtual ReturnCode_t take_request(void *data, RequestInfo &info)=0
Take a request message from the Replier DataReader's history.
virtual DataWriter * get_replier_writer() const =0
Getter for the Replier's DataWriter.
Definition DomainParticipant.hpp:59
SampleInfo RequestInfo
Definition RequestInfo.hpp:25
Definition BuiltinTopicKey.hpp:26
int32_t ReturnCode_t
Definition DDSReturnCode.hpp:59