-
Notifications
You must be signed in to change notification settings - Fork 816
[22682] Add RPC related interfaces #5687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 tasks
MiguelCompany
commented
Mar 17, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should make the following changes. Apply similar ones on other ReqRep helpers
richiware
requested changes
Mar 18, 2025
richiware
previously approved these changes
Mar 18, 2025
* Refs #22722. Add RpcException class. Signed-off-by: Miguel Company <[email protected]> * Refs #22722. Add RpcTimeoutException class. Signed-off-by: Miguel Company <[email protected]> * Refs #22722. Add RpcBrokenPipeException class. * Refs #22722. Add RpcOperationError class. Signed-off-by: Miguel Company <[email protected]> * Refs #22722. Add utility include for exceptions. Signed-off-by: Miguel Company <[email protected]> * Refs #22722. Add RpcServerReader template interface. Signed-off-by: Miguel Company <[email protected]> * Refs #22722. Add RpcClientReader template interface. Signed-off-by: Miguel Company <[email protected]> * Refs #22722. Add RpcServerWriter template interface. Signed-off-by: Miguel Company <[email protected]> * Refs #22722. Add RpcClientWriter template interface. Signed-off-by: Miguel Company <[email protected]> * Refs #22722. Add RpcInputFeedCancelledException. Signed-off-by: Miguel Company <[email protected]> * Refs #22722. Add RpcFuture template. Signed-off-by: Miguel Company <[email protected]> * Refs #22722. Rename `RpcInputFeedCancelledException` -> `RpcFeedCancelledException` Signed-off-by: Miguel Company <[email protected]> * Refs #22722. `RpcServerWriter` operations can throw `RpcFeedCancelledException` Signed-off-by: Miguel Company <[email protected]> * Refs #22722. Improve documentation of `RpcClientReader` Signed-off-by: Miguel Company <[email protected]> * Refs #22722. Improve documentation of `RpcClientWriter` Signed-off-by: Miguel Company <[email protected]> * Refs #22722. Avoid DSO export warning on Windows Signed-off-by: Miguel Company <[email protected]> * Refs #22722. Add utility include for interfaces. Signed-off-by: Miguel Company <[email protected]> * Refs #22722. Add missing argument on doxygen documentation. Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]>
* Refs #22682: Add public interfaces of RPC Entities Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Add RequestInfo class Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Add ServiceTypeSupport interface Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Add Requester/Replier parameter classes Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Add private headers and implement RPC methods Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Expose Requester/Replier endpoint getters to public API Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Add public methods for deleting requester/replier entities Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Allow calling get_statuscondition method on constant entities Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Refactor blackbox tests Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Avoid sample filtering on request topic Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Fix segFault error due to deleting endpoints manually Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Fix TCPRequester params Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Enable type() method for const DataReader objects Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Add unit tests for Requester/Replier parameters validation Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Add unit tests for DomainParticipant public API methods Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Fix test errors. Add service/participant checks and avoid inconsistent statuses when unregister types methods fail Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Update versions.md Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Apply suggested changes. Remove RequesterParams/ReplierParams classes Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Apply suggested changes. Unify parameters in Requester/Replier take/send methods Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Fix RequesterImpl::send_request related_sample_identity assignment Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Fix typos Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Apply suggested changes Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Apply suggested changes Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Uncrustify Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Avoid creating unnecesary RequestReplyContentFilter instances Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Add suggested changes Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Apply suggested changes. Add return_load method to Requester/Replier public API Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Apply suggested changes Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Apply suggested changes. Blackbox tests classes Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Apply suggested changes. Update send_reply signature. Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Fix blackbox tests Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Fix notation errors in Requester/Replier Signed-off-by: Carlosespicur <[email protected]> * Refs #22682: Fix memory leaks in RequestReplyContentFilterFactory Signed-off-by: Carlosespicur <[email protected]> --------- Signed-off-by: Carlosespicur <[email protected]>
Signed-off-by: Miguel Company <[email protected]>
* Refs #22917. Add `RemoteExceptionCode_t` enumeration. Signed-off-by: Miguel Company <[email protected]> * Refs #22917. Add `RpcRemomteException`. Signed-off-by: Miguel Company <[email protected]> * Refs #22917. Add remote exceptions. Signed-off-by: Miguel Company <[email protected]> * Refs #22917. Uncrustify. Signed-off-by: Miguel Company <[email protected]> * Refs #22917. Add new exceptions to convenience header. Signed-off-by: Miguel Company <[email protected]> * Refs #22917. Document where the enumeration comes from. Signed-off-by: Miguel Company <[email protected]> * Refs #22917. Add blackbox test. Signed-off-by: Miguel Company <[email protected]> * Refs #22917. Remove Dll API from exceptions. Signed-off-by: Miguel Company <[email protected]> * Refs #22917. Add test that captures exceptions. Signed-off-by: Miguel Company <[email protected]> * Refs #22917. Apply review suggestions. Signed-off-by: Miguel Company <[email protected]> * Refs #22917. Fix typo. Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]>
Signed-off-by: Carlosespicur <[email protected]>
Signed-off-by: Carlosespicur <[email protected]>
Signed-off-by: Carlosespicur <[email protected]>
Signed-off-by: Miguel Company <[email protected]>
Signed-off-by: Miguel Company <[email protected]>
b626e1d
to
daf9d46
Compare
@richiware I had to rebase due to a conflict in |
richiware
approved these changes
Mar 19, 2025
10 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds supporting interfaces for the automatic generation of RPC code in Fast DDS Gen
Contributor Checklist
versions.md
file (if applicable).Reviewer Checklist