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

Many updates to metadata handling #936

Merged
merged 1 commit into from Jan 8, 2023

Conversation

fbacchella
Copy link
Contributor

org.zeromq.ZSocket and org.zeromq.ZMQ.Socket can now read and write zmq.Msg directly.

Updating Metada class to provide more data access and functions. ZMetadata is updated too.
It internally now uses ConcurrentHashMap instead of the old Properties class. The Properties class ignore null values, ConcurrentHashMap reject them but ZMTP protocol allows empty values. So null values are transformed to empty strings.

Metada#set is deprecated and replaced by Metada#put, to be more consistent with Map API.

Lots of hostile final method declaration removed.

…mq.Msg directly.

Updating Metada class to provide more data access and functions. ZMetadata is updated too.
It internally now uses ConcurrentHashMap instead of the old Properties class. The Properties class ignore null values, ConcurrentHashMap reject them but ZMTP protocol allows empty values. So null values are transformed to empty strings.

Metada#set is deprecated and replaced by Metada#put, to be more consistent with Map API.

Lots of hostile final method declaration removed.
@trevorbernard trevorbernard merged commit 895157e into zeromq:master Jan 8, 2023
@fbacchella fbacchella deleted the better_metadata branch January 11, 2023 10:06
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.

None yet

2 participants