RemotePopen#
- class wattson.cosimulation.simulators.network.components.remote.remote_popen.RemotePopen(remote_node: RemoteNetworkNode, pid: int)#
Bases:
WattsonRemoteObject
Represents a process running on a remote node.
Methods
communicate
error
kill
poll
send_signal
Synchronize this object with its instance in the simulation
terminate
wait
Attributes
pid
return_code
return_error
return_error_list
return_output
return_output_list
returncode
state
wattson_client
- __init__(remote_node: RemoteNetworkNode, pid: int)#
- synchronize(force: bool = False, block: bool = True)#
Synchronize this object with its instance in the simulation
- Parameters:
force (bool, optional) – Whether to force an update (Default value = False)
block (bool, optional) – Whether to block during the update (Default value = True)