p2pLinkServer
-
class
itasca.util.
p2pLinkServer
- Python to Python socket link server. Send and receive numbers, strings and NumPy arrays between Python instances.
-
close
() → None. Close the active socket connection.
-
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.
-
start
() → None. Open the socket connection.
-
wait_for_data
() → None. Block until data is available. This call allows the Python thread scheduler to run.
-
Was this helpful? ... | FLAC3D © 2019, Itasca | Updated: Feb 25, 2024 |