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

channel state changes #1208

Closed
damanloox opened this issue Apr 28, 2017 · 2 comments · Fixed by #1385
Closed

channel state changes #1208

damanloox opened this issue Apr 28, 2017 · 2 comments · Fixed by #1385
Assignees
Labels
Type: Feature New features or improvements in behavior

Comments

@damanloox
Copy link

"All libraries should also expose an API that enables the application (user of the gRPC API) to be notified when the channel state changes." (https://github.com/grpc/grpc/blob/master/doc/connectivity-semantics-and-api.md)

Has this been implemented yet...? I can't see any way of getting state changes on the client...

@menghanl
Copy link
Contributor

This is currently not implemented.

Can you give more information about what you are planning to do with this API?

@damanloox
Copy link
Author

I've a long-lived client (of gobgpd server) and a stream coming from the server. I need to be able to detect if/when the server goes offline and back to be able to reconnect the stream (and notify end user of the problem). Unfortunately I don't have control on the server (besides public API) so I need to be able to detect connection state changes on the client...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Feature New features or improvements in behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants