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

simulaqron.run.startCQC.setup_CQC_server(myName, cqc_factory)[source]

Setup CQC server to handle remote on the classical communication network.

simulaqron.run.startCQC.sigterm_handler(_signo, _stack_frame)[source]

simulaqron.run.startNode module

simulaqron.run.startNode.main(name, network_name='default')[source]
simulaqron.run.startNode.sigterm_handler(_signo, _stack_frame)[source]

Module contents