AllenNeuralDynamics / AllenNeuralDynamics/one-liner

Support server-client connection validation with version checking

未关闭
#44 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
3
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。