Dee.Client¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
Bus address to use for the connection |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
||
priv |
r |
Class Details¶
- class Dee.Client(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(swarm_name)¶
- Parameters:
swarm_name (
str
) – Name of swarm to join.- Returns:
A newly constructed
Dee.Client
.- Return type:
Creates a new instance of
Dee.Client
and tries to connect toDee.Server
created usingDee.Server.new
(). TheDee.Peer
:swarm-leader
property will be set once the client connects.
- classmethod new_for_address(swarm_name, bus_address)¶
- Parameters:
- Returns:
A newly constructed
Dee.Client
.- Return type:
Creates a new instance of
Dee.Client
and tries to connect to bus_address. TheDee.Peer
:swarm-leader
property will be set once the client connects.