AllenNeuralDynamics / AllenNeuralDynamics/one-liner

Support server-client connection validation with version checking

Open
#44 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Currently, we can read versions of both `RouterClient` and the connected `RouterServer`, but we don't do any validation upon connecting. This is fundamentally hard because the underlying connections are done asyncrhonously with zmq. In other words, you can launch a client without any server connection, and vice versa.

One possible solution would be to add extra connection validation hooks. so that the user, at their own discretion, can do the validation before doing any further communication. Something like a `validate_server_version` from the client side. Even providing status information like `has_connected` from the client side could be useful.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.