Infinity.DiscoveryInterface

Fields

Name

Type

Access

Description

discover

object

r

Virtual function to start discovery of services of the given type. If the discovery was already started ealier, then this function does nothing.

discovered

object

r

Default signal handler for the Infinity.Discovery ::discovered signal.

get_discovered

object

r

Virtual function to retrieve a list of Infinity.DiscoveryInfo s that represent discovered services. It needs to be freed by the caller via g_slist_free().

info_get_service_name

object

r

Returns the service name of the given Infinity.DiscoveryInfo as a new string, to be freed by the caller with GLib.free().

info_get_service_type

object

r

Returns the type of the discovered service of the given Infinity.DiscoveryInfo as a static string.

parent

GObject.TypeInterface

r

resolve

object

r

Virtual function that attempts to resolve the given discovery info. It guarantees to either call complete_func or error_func when the process has finished.

undiscovered

object

r

Default signal handler for the Infinity.Discovery ::undiscovered signal.

Methods

None

Details

class Infinity.DiscoveryInterface

The virtual methods and default signal handlers of Infinity.Discovery. Implementing these allows discovering infinote servers.