DeeClient

DeeClient — Creates a client object you can use to connect to a DeeServer.

Functions

Properties

gchar * bus-address Read / Write / Construct Only

Object Hierarchy

    GObject
    ╰── DeePeer
        ╰── DeeClient

Includes

#include <dee.h>

Description

DeeClient is the endpoint for connecting to DeeServer.

Functions

dee_client_new ()

DeeClient *
dee_client_new (const gchar *swarm_name);

Creates a new instance of DeeClient and tries to connect to DeeServer created using dee_server_new(). The “swarm-leader” property will be set once the client connects.

Parameters

swarm_name

Name of swarm to join.

 

Returns

A newly constructed DeeClient.

[transfer full]


dee_client_new_for_address ()

DeeClient *
dee_client_new_for_address (const gchar *swarm_name,
                            const gchar *bus_address);

Creates a new instance of DeeClient and tries to connect to bus_address . The “swarm-leader” property will be set once the client connects.

Parameters

swarm_name

Name of swarm to join.

 

bus_address

D-Bus address to use when connecting to the server.

 

Returns

A newly constructed DeeClient.

[transfer full]

Property Details

The “bus-address” property

  “bus-address”              gchar *

Bus address to use for the connection.

Owner: DeeClient

Flags: Read / Write / Construct Only

Default value: NULL