Dee.Client

g Dee.Client Dee.Client Dee.Peer Dee.Peer Dee.Peer->Dee.Client GObject.Object GObject.Object GObject.Object->Dee.Peer

Subclasses:

None

Methods

Inherited:

Dee.Peer (7), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (swarm_name)

class

new_for_address (swarm_name, bus_address)

Virtual Methods

Inherited:

Dee.Peer (8), GObject.Object (7)

Properties

Inherited:

Dee.Peer (3)

Name

Type

Flags

Short Description

bus-address

str

r/w/co

Bus address to use for the connection

Signals

Inherited:

Dee.Peer (4), GObject.Object (1)

Fields

Inherited:

Dee.Peer (4), GObject.Object (1)

Name

Type

Access

Description

parent

Dee.Peer

r

priv

Dee.ClientPrivate

r

Class Details

class Dee.Client(**kwargs)
Bases:

Dee.Peer

Abstract:

No

Structure:

Dee.ClientClass

classmethod new(swarm_name)
Parameters:

swarm_name (str) – Name of swarm to join.

Returns:

A newly constructed Dee.Client.

Return type:

Dee.Client

Creates a new instance of Dee.Client and tries to connect to Dee.Server created using Dee.Server.new(). The Dee.Peer :swarm-leader property will be set once the client connects.

classmethod new_for_address(swarm_name, bus_address)
Parameters:
  • swarm_name (str) – Name of swarm to join.

  • bus_address (str) – D-Bus address to use when connecting to the server.

Returns:

A newly constructed Dee.Client.

Return type:

Dee.Client

Creates a new instance of Dee.Client and tries to connect to bus_address. The Dee.Peer :swarm-leader property will be set once the client connects.

Property Details

Dee.Client.props.bus_address
Name:

bus-address

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Bus address to use for the connection