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. | |
from_text(cls,
rdclass,
rdtype,
tok,
origin,
relativize)
(Class method) | |
from_wire(cls,
rdclass,
rdtype,
wire,
current,
rdlen,
origin)
(Class method) | |
string |
Convert an rdata to text format. |
string |
Convert an rdata to wire format. |
Inherited from Rdata | |
| |
| |
| |
| |
| |
| |
| |
| |
Convert any domain names in the rdata to the specified relativization. | |
int |
DNS SIG/RRSIG rdatas apply to a specific type; this type is returned by the covers() function. |
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. |
Check that the current contents of the rdata's fields are valid. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value |
Property Summary | |
---|---|
float_latitude : latitude as a floating point value | |
float_longitude : longitude as a floating point value |
Instance Variable Summary | |
---|---|
float | altitude : altitude |
float | horizontal_precision : horizontal precision |
(int, int, int, int) tuple specifying the degrees, minutes, seconds, and milliseconds of the coordinate. | latitude : latitude |
(int, int, int, int) tuple specifying the degrees, minutes, seconds, and milliseconds of the coordinate. | longitude : longitude |
float | size : size of the sphere |
float | vertical_precision : vertical precision |
Class Variable Summary | |
---|---|
list |
__slots__ = ['latitude', 'longitude', 'altitude', 'size'...
|
Inherited from Rdata | |
member_descriptor |
rdclass = <member 'rdclass' of 'Rdata' objects>
|
member_descriptor |
rdtype = <member 'rdtype' of 'Rdata' objects>
|
Instance Method Details |
---|
__init__(self,
rdclass,
rdtype,
latitude,
longitude,
altitude,
size=1.0,
hprec=10000.0,
vprec=10.0)
|
to_text(self, origin=None, relativize=True, **kw)Convert an rdata to text format.
|
to_wire(self, file, compress=None, origin=None)Convert an rdata to wire format.
|
Property Details |
---|
float_latitudelatitude as a floating point value |
float_longitudelongitude as a floating point value |
Instance Variable Details |
---|
altitudealtitude
|
horizontal_precisionhorizontal precision
|
latitudelatitude
|
longitudelongitude
|
sizesize of the sphere
|
vertical_precisionvertical precision
|
Class Variable Details |
---|
__slots__
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Dec 10 12:46:08 2006 | http://epydoc.sf.net |