p5control.server.baseserv
This file provides a basic rpyc service which is wrapped to allow for a ThreadedServer to be started and stopped
- exception p5control.server.baseserv.BaseServerError
Bases:
ExceptionException related to a Server
- class p5control.server.baseserv.BaseServer(port: int)
Bases:
Servicerpyc server with a service which exposes basic functionality. Implements the python context manager protocoll. The server is configured to only allow public attributes (not starting with “_”) to be accessed by the client.
- Parameters:
port (int) – port of the server
- start()
Start the RPyC server
- stop()
Stop the RPyC server