DeeClient

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

Functions

Properties

gchar * bus-address Read / Write / Construct Only

Types and Values

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);

swarm_name : Name of swarm to join.

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.

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);

swarm_name : Name of swarm to join. bus_address : D-Bus address to use when connecting to the server.

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

Returns

A newly constructed DeeClient.

[transfer full]

Types and Values

DeeClient

typedef struct _DeeClient DeeClient;

DeeClientClass

typedef struct {
} DeeClientClass;

Property Details

The “bus-address” property

  “bus-address”              gchar *

Bus address to use for the connection.

Flags: Read / Write / Construct Only

Default value: NULL