p2pLinkClient
-
class
itasca.util.
p2pLinkClient
- Python to Python socket link client. Send and receive numbers, strings and NumPy arrays between Python instances.
-
close
() → None. Close the active socket connection.
-
connect
(machine: str) → None. Connect to a Python to Python link server.
-
read_data
() → any. Read the next item from the socket connection.
-
read_type
(type: str) → any. This method should not be called directly. Use the read_data method.
-
send_data
(value: any) → None. Send value. value must be a number, a string or a NumPy array.
-
wait_for_data
() → None. Block until data is available. This call allows the Python thread scheduler to run.
-
Was this helpful? ... | PFC 6.0 © 2019, Itasca | Updated: Nov 19, 2021 |