Avahi.ServiceBrowser

g Avahi.ServiceBrowser Avahi.ServiceBrowser GObject.Object GObject.Object GObject.Object->Avahi.ServiceBrowser

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (type)

class

new_full (interface, protocol, type, domain, flags)

attach (client)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

domain

str

r/w

Domain to browse in

flags

Avahi.LookupFlags

r/w

Browser lookup flags

interface

int

r/w

Interface use for browser

protocol

Avahi.Protocol

r/w

Avahi protocol to browse

type

str

r/w

Service type to browse for

Signals

Inherited:

GObject.Object (1)

Name

Short Description

all-for-now

cache-exhausted

failure

new-service

removed-service

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class Avahi.ServiceBrowser(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Avahi.ServiceBrowserClass

classmethod new(type)
Parameters:

type (str) –

Return type:

Avahi.ServiceBrowser

classmethod new_full(interface, protocol, type, domain, flags)
Parameters:
Return type:

Avahi.ServiceBrowser

attach(client)
Parameters:

client (Avahi.Client) –

Raises:

GLib.Error

Return type:

bool

Signal Details

Avahi.ServiceBrowser.signals.all_for_now(service_browser)
Signal Name:

all-for-now

Flags:

RUN_LAST

Parameters:

service_browser (Avahi.ServiceBrowser) – The object which received the signal

Avahi.ServiceBrowser.signals.cache_exhausted(service_browser)
Signal Name:

cache-exhausted

Flags:

RUN_LAST

Parameters:

service_browser (Avahi.ServiceBrowser) – The object which received the signal

Avahi.ServiceBrowser.signals.failure(service_browser, object)
Signal Name:

failure

Flags:

RUN_LAST

Parameters:
Avahi.ServiceBrowser.signals.new_service(service_browser, object, p0, p1, p2, p3, p4)
Signal Name:

new-service

Flags:

RUN_LAST

Parameters:
Avahi.ServiceBrowser.signals.removed_service(service_browser, object, p0, p1, p2, p3, p4)
Signal Name:

removed-service

Flags:

RUN_LAST

Parameters:

Property Details

Avahi.ServiceBrowser.props.domain
Name:

domain

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Domain to browse in

Avahi.ServiceBrowser.props.flags
Name:

flags

Type:

Avahi.LookupFlags

Default Value:

Avahi.LookupFlags.GA_LOOKUP_NO_FLAGS

Flags:

READABLE, WRITABLE

Browser lookup flags

Avahi.ServiceBrowser.props.interface
Name:

interface

Type:

int

Default Value:

-1

Flags:

READABLE, WRITABLE

Interface use for browser

Avahi.ServiceBrowser.props.protocol
Name:

protocol

Type:

Avahi.Protocol

Default Value:

Avahi.Protocol.GA_PROTOCOL_UNSPEC

Flags:

READABLE, WRITABLE

Avahi protocol to browse

Avahi.ServiceBrowser.props.type
Name:

type

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Service type to browse for