AllenNeuralDynamics / AllenNeuralDynamics/one-liner

Support server-client connection validation with version checking

Offen
#44 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
3
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.