Home | Trees | Index | Help |
|
---|
Package dns :: Package rdtypes :: Package ANY :: Module LOC :: Class LOC |
|
object
--+ |Rdata
--+ | LOC
See also: RFC 1876
Method Summary | |
---|---|
Initialize a LOC record instance. | |
__eq__(self,
other)
(inherited from Rdata )
| |
__ge__(self,
other)
(inherited from Rdata )
| |
__getstate__(...)
| |
__gt__(self,
other)
(inherited from Rdata )
| |
__le__(self,
other)
(inherited from Rdata )
| |
__lt__(self,
other)
(inherited from Rdata )
| |
__ne__(self,
other)
(inherited from Rdata )
| |
a new object with type S, a subtype of T |
|
__repr__(self)
(inherited from Rdata )
| |
__str__(self)
(inherited from Rdata )
| |
Convert any domain names in the rdata to the specified relativization. (inherited from Rdata )
| |
int |
DNS SIG rdatas apply to a specific type; this type is returned by the covers() function. (inherited from Rdata )
|
int |
Return a 32-bit type value, the least significant 16 bits of which are the ordinary DNS type, and the upper 16 bits of which are the "covered" type, if any. (inherited from Rdata )
|
string |
Convert an rdata to text format. |
string |
Convert an rdata to wire format. |
Compare an rdata with another rdata of the same rdtype and rdclass. | |
_get_float_latitude(self)
| |
_get_float_longitude(self)
| |
_set_float_latitude(self,
value)
| |
_set_float_longitude(self,
value)
|
Instance Variable Summary | |
---|---|
altitude
- altitude | |
horizontal_precision
- horizontal precision | |
latitude
- latitude | |
longitude
- longitude | |
size
- size of the sphere | |
vertical_precision
- vertical precision |
Class Variable Summary | |
---|---|
list |
__slots__
|
float | altitude
|
property |
float_latitude
|
property |
float_longitude
|
classmethod |
from_text
|
classmethod |
from_wire
|
float | horizontal_precision
|
(int, int, int, int) tuple specifying the degrees, minutes, seconds, and milliseconds of the coordinate. | latitude
|
(int, int, int, int) tuple specifying the degrees, minutes, seconds, and milliseconds of the coordinate. | longitude
|
float | size
|
float | vertical_precision
|
Method Details |
---|
__init__(self,
rdclass,
rdtype,
latitude,
longitude,
altitude,
size=1.0,
hprec=10000.0,
vprec=10.0)
|
__new__(S, ...)
|
to_text(self, origin=None, relativize=1, **kw)Convert an rdata to text format.
|
to_wire(self, file, compress=None, origin=None)Convert an rdata to wire format.
|
_cmp(self, other)Compare an rdata with another rdata of the same rdtype and rdclass. Return < 0 if self < other in the DNSSEC ordering, 0 if self == other, and > 0 if self > other.
|
Instance Variable Details |
---|
altitudealtitude |
horizontal_precisionhorizontal precision |
latitudelatitude |
longitudelongitude |
sizesize of the sphere |
vertical_precisionvertical precision |
Class Variable Details |
---|
__slots__
|
altitude
|
float_latitude
|
float_longitude
|
from_text
|
from_wire
|
horizontal_precision
|
latitude
|
longitude
|
size
|
vertical_precision
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 1.1 on Sat Sep 6 01:38:34 2003 | http://epydoc.sf.net |