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

Server Client implementation with JSON RPC #2

Open
alexist2623 opened this issue Jul 5, 2024 · 0 comments
Open

Server Client implementation with JSON RPC #2

alexist2623 opened this issue Jul 5, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@alexist2623
Copy link
Member

Feature you want to implement

Implement basic server-client framework with python and TCP. Client can access to server instance with class JsonRPCClient without actual class instance. Actual class instance which works real communication with peripheral devices is created in Server and it is controlled with class JsonRPCServer. JsonRPCServer contains thread which runs TCP server for each port. When there is variation in instances, server will notify this variation to all of the clients.

How the feature is implemented

Features will be implemented with __getattr__, and __setattr__ method as M-labbs did. M-labs scipyco returns result for each rpc call, but in our program, there will be no immediate response to client from server. All variation will be notified from server to client asyncnously.

@alexist2623 alexist2623 added the enhancement New feature or request label Jul 5, 2024
@alexist2623 alexist2623 self-assigned this Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant