Uhm.Resolver¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
Class Details¶
- class Uhm.Resolver(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
All the fields in the
Uhm.Resolverstructure are private and should never be accessed directly.New in version 0.1.0.
- classmethod new()¶
- Returns:
a new
Uhm.Resolver; unref withGObject.Object.unref()- Return type:
Creates a new
Uhm.Resolverwith default property values.
- add_A(hostname, addr)¶
- Parameters:
- Returns:
- Return type:
Adds a resolution mapping from the host name hostname to the IP address addr.
New in version 0.1.0.
- add_SRV(service, protocol, domain, addr, port)¶
- Parameters:
- Returns:
- Return type:
Adds a resolution mapping the given service (on protocol and domain) to the IP address addr and given port.
New in version 0.1.0.
- reset()¶
Resets the state of the
Uhm.Resolver, deleting all records added withUhm.Resolver.add_A() andUhm.Resolver.add_SRV().