Package DebTorrent :: Module ConnChoice
[hide private]
[frames] | no frames]

Module ConnChoice

source code

Sets the connection choices that are available.

Variables [hide private]
list of dictionary connChoices = ({'automatic': 1, 'conn': {'def': 0, 'max': 100,...
Details for each type of connection.
list of string connChoiceList = ['automatic', 'unlimited', 'dialup/isdn', 'ds...
the names of the connections that are available
Variables Details [hide private]

connChoices

Details for each type of connection. Includes limits for each type on the upload rate and number of connections.
Type:
list of dictionary
Value:
({'automatic': 1,
  'conn': {'def': 0, 'max': 100, 'min': 0},
  'name': 'automatic',
  'rate': {'def': 0, 'max': 5000, 'min': 0}},
 {'conn': {'def': 4, 'max': 100, 'min': 4},
  'name': 'unlimited',
  'rate': {'def': 0, 'div': 50, 'max': 5000, 'min': 0}},
 {'conn': {'def': 2, 'max': 3, 'min': 2}, 'initiate': 12, 'name': 'dia\
...

connChoiceList

the names of the connections that are available
Type:
list of string
Value:
['automatic',
 'unlimited',
 'dialup/isdn',
 'dsl/cable slow',
 'dsl/cable fast',
 'T1',
 'T3+',
 'seeder',
...