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

Expose client closed flag publicly #7365

Merged
merged 12 commits into from Aug 22, 2019

Conversation

serkantkaraca
Copy link
Member

Adding bool IsClosed on EventHubClient, PartitionSender, and PartitionReceiver.

Copy link
Member

@jsquire jsquire left a comment

Choose a reason for hiding this comment

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

LGTM

@serkantkaraca serkantkaraca added Event Hubs Client This issue points to a problem in the data-plane of the library. labels Aug 22, 2019
@serkantkaraca serkantkaraca merged commit 3db8fea into Azure:master Aug 22, 2019
@@ -20,6 +20,9 @@ public abstract class ClientEntity
static int nextId;
RetryPolicy retryPolicy;

/// <summary />
protected bool closeCalled = false;
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this field protected and named this way?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorry, missed to notice your comment. I see your point. I will remove it and set the property setter as protected instead in another PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. Event Hubs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants