malcolm.modules.pva.controllers¶
-
class
malcolm.modules.pva.controllers.PvaClientComms(mri: Anno(name='AMri', typ=<class 'str'>, description='The Malcolm Resource Identifier for the Block produced'), description: Anno(name='ADescription', typ=<class 'str'>, description='Description of the Block produced by the controller') = '')[source]¶ A class for a client to communicate with the server
Parameters: -
sync_proxy(mri, block)[source]¶ Abstract method telling the ClientComms to sync this proxy Block with its remote counterpart. Should wait until it is connected
Parameters: - mri (str) – The mri for the remote block
- block (BlockModel) – The local proxy Block to keep in sync
-
-
class
malcolm.modules.pva.controllers.PvaServerComms(mri: Anno(name='AMri', typ=<class 'str'>, description='The Malcolm Resource Identifier for the Block produced'))[source]¶ A class for communication between pva client and server
Parameters: mri (str) – The Malcolm Resource Identifier for the Block produced