simulaqron.run package¶
Submodules¶
simulaqron.run.startCQC module¶
-
simulaqron.run.startCQC.
connect_to_virtNode
(myName, cqc_factory, virtualNet)[source]¶ Trys to connect to local virtual node.
If connection is refused, we try again after a set amount of time (specified in handle_connection_error)
-
simulaqron.run.startCQC.
handle_connection_error
(reason, myName, cqc_factory, virtualNet)[source]¶ Handles errors from trying to connect to local virtual node.
If a ConnectionRefusedError is raised another try will be made after Settings.CONF_WAIT_TIME seconds. Any other error is raised again.
-
simulaqron.run.startCQC.
init_register
(virtRoot, myName, node)[source]¶ Retrieves the relevant root objects to talk to such remote connections
-
simulaqron.run.startCQC.
main
(myName, network_name='default')[source]¶ Start the indicated backend CQC Server