SimulaQron.general package

Submodules

SimulaQron.general.hostConfig module

class SimulaQron.general.hostConfig.host(name, hostname, port)[source]

Bases: twisted.spread.flavors.Referenceable

class SimulaQron.general.hostConfig.networkConfig(filename)[source]

Bases: twisted.spread.flavors.Referenceable

print_details(name)[source]

Prints the details of the specified node with name.

read_config(filename)[source]

Reads the configuration file in which each line has the form: node name, hostname, port number. For example: Alice, localhost, 8888

Module contents