Avahi.Client

g Avahi.Client Avahi.Client GObject.Object GObject.Object GObject.Object->Avahi.Client

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (flags)

start ()

start_in_context (context)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

flags

Avahi.ClientFlags

r/w/co

The flags the Avahi client is started with

state

Avahi.ClientState

r

The state of the Avahi client

Signals

Inherited:

GObject.Object (1)

Name

Short Description

state-changed

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

avahi_client

AvahiCore.Client

r

parent

GObject.Object

r

Class Details

class Avahi.Client(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Avahi.ClientClass

classmethod new(flags)
Parameters:

flags (Avahi.ClientFlags) –

Return type:

Avahi.Client

start()
Raises:

GLib.Error

Return type:

bool

start_in_context(context)
Parameters:

context (GLib.MainContext) –

Raises:

GLib.Error

Return type:

bool

Signal Details

Avahi.Client.signals.state_changed(client, object)
Signal Name:

state-changed

Flags:

RUN_LAST, DETAILED

Parameters:

Property Details

Avahi.Client.props.flags
Name:

flags

Type:

Avahi.ClientFlags

Default Value:

Avahi.ClientFlags.GA_CLIENT_FLAG_NO_FLAGS

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The flags the Avahi client is started with

Avahi.Client.props.state
Name:

state

Type:

Avahi.ClientState

Default Value:

Avahi.ClientState.GA_CLIENT_STATE_NOT_STARTED

Flags:

READABLE

The state of the Avahi client