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
Instance methods
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_update_status
Sets the status of the most recent call to
traversity_discoverer_discover()
.
since: 0.1
Properties
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.