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

Dummy Channel - Registry #10

Open
simongregorebner opened this issue Jan 9, 2014 · 0 comments
Open

Dummy Channel - Registry #10

simongregorebner opened this issue Jan 9, 2014 · 0 comments

Comments

@simongregorebner
Copy link
Contributor

Currently the ChannelService object returns different Dummy Channels although the name of the dummy channel is the same (in the descriptor).
This is very bad for testing and does not comply to the ChannelAccess idea.

Therefor there need to be a map of already created channels which is searched first before a new dummy channel is created and send back. If an entry in the map exist the create function should just return this entry.

clear the map once the service is stopped/destroyed.

Problems to expect:
Request for the same channel but of a different type.

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

No branches or pull requests

1 participant