Skip to content
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

User attachment #45

Merged
merged 16 commits into from
Feb 21, 2024
Merged

Conversation

DariusIMP
Copy link
Member

Implementation of the user attachment feature for the Kotlin bindings.

The API is expanded with the following calls:

  • publisher.put(...).with_attachment(attachment)
  • publisher.write(...).with_attachment(attachment)
  • publisher.delete(...).with_attachment(attachment)
  • session.put(...).with_attachment(attachment)
  • query.reply(...).with_attachment(attachment)
  • session.get(...).with_attachment(attachment)

The Sample class now has an optional Attachment field as well.

Closes #30 .

Copy link
Contributor

@p-avital p-avital left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from the wasteful conversion, all seems in order

zenoh-jni/src/utils.rs Outdated Show resolved Hide resolved
@p-avital p-avital merged commit 0bb75c9 into eclipse-zenoh:main Feb 21, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

User attachment implementation
2 participants