fedn.common.net package

Subpackages

Submodules

fedn.common.net.connect module

class fedn.common.net.connect.ConnectorClient(host, port, token, name, remote_package, combiner=None, id=None, secure=True, preshared_cert=True, verify_cert=False)[source]

Bases: object

assign()[source]
Returns:

state()[source]
Returns:

class fedn.common.net.connect.ConnectorCombiner(host, port, myhost, myport, token, name, secure=True, preshared_cert=True, verify_cert=False)[source]

Bases: object

announce()[source]
Returns:

state()[source]
Returns:

class fedn.common.net.connect.State(value)[source]

Bases: Enum

An enumeration.

Connected = 1
Disconnected = 0
Error = 2
class fedn.common.net.connect.Status(value)[source]

Bases: Enum

An enumeration.

Assigned = 1
TryAgain = 2
UnAuthorized = 3
UnMatchedConfig = 4
Unassigned = 0

Module contents