class LOC(dns.rdata.Rdata):
- """LOC record
-
- @ivar latitude: latitude
- @type latitude: (int, int, int, int, sign) tuple specifying the degrees, minutes,
- seconds, milliseconds, and sign of the coordinate.
- @ivar longitude: longitude
- @type longitude: (int, int, int, int, sign) tuple specifying the degrees,
- minutes, seconds, milliseconds, and sign of the coordinate.
- @ivar altitude: altitude
- @type altitude: float
- @ivar size: size of the sphere
- @type size: float
- @ivar horizontal_precision: horizontal precision
- @type horizontal_precision: float
- @ivar vertical_precision: vertical precision
- @type vertical_precision: float
- @see: RFC 1876"""
+ """LOC record"""
+
+ # see: RFC 1876
__slots__ = ['latitude', 'longitude', 'altitude', 'size',
'horizontal_precision', 'vertical_precision']
A ``bytes``, 64-bit Extended Unique Identifier (EUI-64).
-.. autoclass:: dns.rdtypes.ANY.GPOS
+.. autoclass:: dns.rdtypes.ANY.GPOS.GPOS
:members:
-.. autoclass:: dns.rdtypes.ANY.HINFO
+ .. attribute:: latitude
+
+ A ``bytes``, the latitude
+
+ .. attribute:: longitude
+
+ A ``bytes``, the longitude
+
+ .. attribute:: altitude
+
+ A ``bytes``, the altitude
+
+.. autoclass:: dns.rdtypes.ANY.HINFO.HINFO
:members:
-.. autoclass:: dns.rdtypes.ANY.HIP
+ .. attribute:: cpu
+
+ A ``bytes``, the CPU type.
+
+ .. attribute:: os
+
+ A ``bytes``, the OS type.
+
+.. autoclass:: dns.rdtypes.ANY.HIP.HIP
:members:
-.. autoclass:: dns.rdtypes.ANY.ISDN
+ .. attribute:: hit
+
+ A ``bytes``, the host identity tag.
+
+ .. attribute:: algorithm
+
+ An ``int``, the public key cryptographic algorithm.
+
+ .. attribute:: key
+
+ A ``bytes``, the public key.
+
+ .. attribute:: servers
+
+ A tuple of ``dns.name.Name`` objects, the rendezvous servers.
+
+.. autoclass:: dns.rdtypes.ANY.ISDN.ISDN
:members:
+
+ .. attribute:: address
+
+ A ``bytes``, the ISDN address.
+
+ .. attribute:: subaddress
-.. autoclass:: dns.rdtypes.ANY.LOC
+ A ``bytes`` the ISDN subaddress (or ``b''`` if not present).
+
+.. autoclass:: dns.rdtypes.ANY.LOC.LOC
:members:
+ .. attribute:: latitude
+
+ An ``(int, int, int, int, int)`` tuple specifying the degrees, minutes,
+ seconds, milliseconds, and sign of the latitude.
+
+ .. attribute:: longitude
+
+ An ``(int, int, int, int, int)`` tuple specifying the degrees, minutes,
+ seconds, milliseconds, and sign of the longitude.
+
+ .. attribute:: altitude
+
+ A ``float``, the altitude, in centimeters.
+
+ .. attribute:: size
+
+ A ``float``, the size of the sphere, in centimeters.
+
+ .. attribute:: horizontal_precision
+
+ A ``float``, the horizontal precision, in centimeters.
+
+ .. attribute:: vertical_precision
+
+ A ``float``, the vertical precision, in centimeters.
+
.. autoclass:: dns.rdtypes.ANY.MX.MX
:members: