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

Further generalize across transports #83

Merged
merged 1 commit into from
Oct 13, 2020
Merged

Further generalize across transports #83

merged 1 commit into from
Oct 13, 2020

Conversation

TheButlah
Copy link
Contributor

@TheButlah TheButlah commented Oct 13, 2020

Rebased on #77 - I suggest diffing against that for review

In preparation for new transport types, this PR takes steps to generalize the signatures of transport::connect() and transport::begin_accept(). This should help make it trivial to add support for new transports to pubsub and reqrep. It also wraps the oneshot channel for killing the accept task in a struct to increase type safety.

@TheButlah TheButlah changed the title Generalize across transports Further generalize across transports Oct 13, 2020
@TheButlah TheButlah mentioned this pull request Oct 13, 2020
Copy link
Collaborator

@Alexei-Kornienko Alexei-Kornienko left a comment

Choose a reason for hiding this comment

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

One minor question. Otherwise LGTM

src/endpoint/mod.rs Show resolved Hide resolved
@Alexei-Kornienko Alexei-Kornienko merged commit ba2f805 into zeromq:master Oct 13, 2020
@TheButlah TheButlah deleted the generalize-across-transports branch October 13, 2020 21:33
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.

2 participants