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

Support SDLSystemCapabilityManager Subscriptions #1279

Conversation

joeljfischer
Copy link
Contributor

Fixes #1222, #1278

This PR is ready for review.

Risk

This PR makes minor API changes.

Testing Plan

Unit tests have been updated

Summary

This PR adds a few new methods to subscribe to individual SystemCapabilityTypes. You can subscribe either using a selector or a block, and the unsubscribe. This basically matches with Java's addOnSystemCapabilityListener() and removeOnSystemCapabilityListener() methods.

Changelog

Enhancements
  • Added methods to subscribe to a SystemCapabilityType through the SDLSystemCapabilityManager.
Bug Fixes
  • The SDLSystemCapabilityManager will update its properties based on "outside" GetSystemCapabilityResponses.

CLA

@joeljfischer joeljfischer added enhancement best practice Not a defect but something that should be improved anyway labels May 23, 2019
@joeljfischer joeljfischer added this to the 6.3.0 milestone May 23, 2019
@joeljfischer joeljfischer self-assigned this May 23, 2019
@joeljfischer joeljfischer added this to In progress in v6.3 via automation May 23, 2019
v6.3 automation moved this from In progress to Review in progress May 28, 2019
Copy link
Contributor

@NicoleYarroch NicoleYarroch left a comment

Choose a reason for hiding this comment

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

Test cases will not compile

v6.3 automation moved this from Review in progress to Reviewer approved May 29, 2019
@joeljfischer joeljfischer merged commit 70deece into develop May 29, 2019
v6.3 automation moved this from Reviewer approved to Done May 29, 2019
@joeljfischer joeljfischer deleted the feature/issue_1222_align_systemcapabilitymanager_callbacks branch May 29, 2019 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
best practice Not a defect but something that should be improved anyway
Projects
No open projects
v6.3
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants