Home | Trees | Index | Help |
|
---|
Package dns :: Package rdtypes :: Module nsbase :: Class NSBase |
|
object
--+ |Rdata
--+ | NSBase
UncompressedNS
,
CNAME
,
NS
,
PTR
Method Summary | |
---|---|
__init__(self,
rdclass,
rdtype,
target)
| |
__eq__(self,
other)
(inherited from Rdata )
| |
__ge__(self,
other)
(inherited from Rdata )
| |
__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. | |
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. |
Instance Variable Summary | |
---|---|
target
- the target name of the rdata |
Class Variable Summary | |
---|---|
list |
__slots__
|
classmethod |
from_text
|
classmethod |
from_wire
|
dns.name.Name object | target
|
Method Details |
---|
__new__(S, ...)
|
choose_relativity(self, origin=None, relativize=True)Convert any domain names in the rdata to the specified relativization.
|
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.
|
_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 |
---|
targetthe target name of the rdata |
Class Variable Details |
---|
__slots__
|
from_text
|
from_wire
|
target
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 1.1 on Fri Nov 7 14:49:30 2003 | http://epydoc.sf.net |