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

Add connectionState to IFluidContainer #9396

Closed
Tracked by #8745
scottn12 opened this issue Mar 8, 2022 · 0 comments · Fixed by #9439
Closed
Tracked by #8745

Add connectionState to IFluidContainer #9396

scottn12 opened this issue Mar 8, 2022 · 0 comments · Fixed by #9439
Assignees
Milestone

Comments

@scottn12
Copy link
Contributor

scottn12 commented Mar 8, 2022

To make IFluidContainer and IContainer consistent, connectionState will be added to IFluidContainer. This will be preferred over IFluidContainer.connected which will be deprecated in #9167.

@ghost ghost added the triage label Mar 8, 2022
@scottn12 scottn12 added this to the March 2022 milestone Mar 10, 2022
@scottn12 scottn12 self-assigned this Mar 10, 2022
@scottn12 scottn12 removed the triage label Mar 15, 2022
@scottn12 scottn12 modified the milestones: March 2022, April 2022 Mar 31, 2022
@skylerjokiel skylerjokiel moved this to In Review in Fluid DevX Apr 2, 2022
Repository owner moved this from In Review to Done in Fluid DevX Apr 7, 2022
scottn12 added a commit that referenced this issue Apr 7, 2022
…ume()`, and `connected` (#9439)

For context on the reasoning behind these changes see: #8745

This PR adds `connect()` and `disconnect()` to `Container` and `IContainer`. These functions will combine to replace the functionality of `Container.setAutoReconnect()` (which is deprecated here). Furthermore, `connect()` is essentially a rename of `Container.resume()`, hence `resume()` has been deprecated as well.

In addition, `IContainer.connected` has been deprecated in favor of `IContainer.connectionState`. To make `IFluidContainer` consistent with these changes, `connectionState` has been added to `IFluidContainer`, and `IFluidContainer.connected` has been deprecated as well.

Follow up items:
1. Add `connect()` and `disconnect()` to `IFluidContainer` and `IContainer`
2. Add tests for the new functionality
3. Update documentation referencing deprecated APIs
4. Explore behavior if `disconnect()` is called while the container is attempting to connect

Closes #9396, #9167, #9744
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
1 participant