Class

TraversityDiscoverer

since: 0.1

Description [src]

class Traversity.Discoverer : GObject.Object
{
  /* No available fields */
}

A discoverer is an abstract class that defines the interface for discovering external IP addresses and gateway devices.

Available since: 0.1

Ancestors

Instance methods

traversity_discoverer_discover

Starts the discovery process asynchronously.

since: 0.1

traversity_discoverer_get_error

Gets the GError from the last discover run or NULL if there was no error.

since: 0.1

traversity_discoverer_get_local_ipv4

Gets the IPv4 address that discoverer found. That is, the local LAN IP address that discoverer found.

since: 0.1

traversity_discoverer_get_local_ipv6

Gets the local IPv6 address that discoverer found. That is, the link-local IPv6 address that may or may not be routeable.

since: 0.1

traversity_discoverer_get_public_ipv4

Gets the public IPv4 address that discoverer found. That is the IPv4 address on the public internet.

since: 0.1

traversity_discoverer_get_public_ipv6

Gets the public IPv6 address that discoverer found. That is the IPv6 address on the public internet.

since: 0.1

traversity_discoverer_get_status

Gets the status of the discoverer.

since: 0.1

traversity_discoverer_set_local_ipv4

Sets the new IPv4 address for discoverer.

since: 0.1

traversity_discoverer_set_local_ipv6

Sets the new IPv6 address for discoverer.

since: 0.1

traversity_discoverer_set_public_ipv4

Sets the new IPv4 address for discoverer.

since: 0.1

traversity_discoverer_set_public_ipv6

Sets the new IPv6 address for discoverer.

since: 0.1

traversity_discoverer_update_status

Sets the status of the most recent call to traversity_discoverer_discover().

since: 0.1

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Traversity.Discoverer:error

The error from the last discovery attempt.

since: 0.1

Traversity.Discoverer:local-ipv4

The local IPv4 address if found or NULL.

since: 0.1

Traversity.Discoverer:local-ipv6

The local IPv6 address if found or NULL.

since: 0.1

Traversity.Discoverer:public-ipv4

The public IPv4 address if found or NULL.

since: 0.1

Traversity.Discoverer:public-ipv6

The public IPv6 address if found or NULL.

since: 0.1

Traversity.Discoverer:status

The TraversityDiscovererStatus that represents the state of this discoverer.

since: 0.1

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct TraversityDiscovererClass {
  void (* discover) (
    TraversityDiscoverer* discoverer
  );
  
}

No description available.

Class members
discover: void (* discover) ( TraversityDiscoverer* discoverer )

No description available.

Virtual methods

Traversity.DiscovererClass.discover

Starts the discovery process asynchronously.

since: 0.1