VirtualClient
- class pyrogue.interfaces.VirtualClient(addr='localhost', port=9099)[source]
A full featured client interface for Rogue. This can be used in scripts or other clients which require remote access to the running Rogue instance.
This class ues a custom factory ensuring that only one instance of this class is created in a python script for a given remote connection.
- Parameters:
- Variables:
linked (bool) – link state
root (obj) – root class reference
- Return type:
- addLinkMonitor(function)[source]
Add a link monitor callback function. This function will be called any time the link state changes. A single boolean argument will be passed to the callback function containing the current link state.
- property root: VirtualNode
Return the connected virtual root node.