fastcs.transports.transport#
Members
A base class for transport's implementation so it can be used in FastCS. |
- class fastcs.transports.transport.Transport[source]#
A base class for transport’s implementation so it can be used in FastCS.
- abstractmethod connect(controller_api: ControllerAPI, loop: AbstractEventLoop) None[source]#
Connect the
Transportto the control systemThe
ControllerAPIshould be exposed over the transport. The provided event loop should be used where required instead of creating a new one.
- property context: dict[str, Any]#
Functions and variables to add to the context of the interactive shell
See
FastCS.servefor usage.
- abstractmethod async serve() None[source]#
Serve the
ControllerAPIThis method will be spawned as an async background task in before launching the interactive shell, so it can (but doesn’t have to) block and run forever.