Avahi.ServiceResolver

g Avahi.ServiceResolver Avahi.ServiceResolver GObject.Object GObject.Object GObject.Object->Avahi.ServiceResolver

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (interface, protocol, name, type, domain, address_protocol, flags)

attach (client)

get_address (address, port)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

aprotocol

Avahi.Protocol

r/w

Avahi protocol of the address to be resolved

domain

str

r/w

Domain to browse in

flags

Avahi.LookupFlags

r/w

Resolver lookup flags

interface

int

r/w

Interface use for resolver

name

str

r/w

name to resolve

protocol

Avahi.Protocol

r/w

Avahi protocol to resolve on

type

str

r/w

Service type to browse for

Signals

Inherited:

GObject.Object (1)

Name

Short Description

failure

found

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class Avahi.ServiceResolver(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Avahi.ServiceResolverClass

classmethod new(interface, protocol, name, type, domain, address_protocol, flags)
Parameters:
Return type:

Avahi.ServiceResolver

attach(client)
Parameters:

client (Avahi.Client) –

Raises:

GLib.Error

Return type:

bool

get_address(address, port)
Parameters:
Return type:

bool

Signal Details

Avahi.ServiceResolver.signals.failure(service_resolver, object)
Signal Name:

failure

Flags:

RUN_LAST

Parameters:
Avahi.ServiceResolver.signals.found(service_resolver, object, p0, p1, p2, p3, p4, p5, p6, p7, p8)
Signal Name:

found

Flags:

RUN_LAST

Parameters:

Property Details

Avahi.ServiceResolver.props.aprotocol
Name:

aprotocol

Type:

Avahi.Protocol

Default Value:

Avahi.Protocol.GA_PROTOCOL_UNSPEC

Flags:

READABLE, WRITABLE

Avahi protocol of the address to be resolved

Avahi.ServiceResolver.props.domain
Name:

domain

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Domain to browse in

Avahi.ServiceResolver.props.flags
Name:

flags

Type:

Avahi.LookupFlags

Default Value:

Avahi.LookupFlags.GA_LOOKUP_NO_FLAGS

Flags:

READABLE, WRITABLE

Resolver lookup flags

Avahi.ServiceResolver.props.interface
Name:

interface

Type:

int

Default Value:

-1

Flags:

READABLE, WRITABLE

Interface use for resolver

Avahi.ServiceResolver.props.name
Name:

name

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

name to resolve

Avahi.ServiceResolver.props.protocol
Name:

protocol

Type:

Avahi.Protocol

Default Value:

Avahi.Protocol.GA_PROTOCOL_UNSPEC

Flags:

READABLE, WRITABLE

Avahi protocol to resolve on

Avahi.ServiceResolver.props.type
Name:

type

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Service type to browse for