Home | Trees | Index | Help |
|
---|
Package dns :: Module rdata :: Class Rdata |
|
object
--+
|
Rdata
GenericRdata
,
MXBase
,
NSBase
,
CERT
,
DS
,
GPOS
,
HINFO
,
ISDN
,
KEY
,
LOC
,
NXT
,
RP
,
SIG
,
SOA
,
TXT
,
X25
,
A
,
AAAA
,
APL
,
NAPTR
,
NSAP
,
PX
,
SRV
,
WKS
Method Summary | |
---|---|
Initialize an rdata. | |
__eq__(self,
other)
| |
__ge__(self,
other)
| |
__gt__(self,
other)
| |
__le__(self,
other)
| |
__lt__(self,
other)
| |
__ne__(self,
other)
| |
a new object with type S, a subtype of T |
|
__repr__(self)
| |
__str__(self)
| |
int |
DNS SIG 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. |
string |
Convert an rdata to text format. |
string |
Convert an rdata to wire format. |
Class Variable Summary | |
---|---|
classmethod |
from_text
|
classmethod |
from_wire
|
Method Details |
---|
__init__(self,
rdclass,
rdtype)
Initialize an rdata.
|
__new__(S, ...)
|
covers(self)DNS SIG rdatas apply to a specific type; this type is returned by the covers() function. If the rdata type is not SIG, dns.rdatatype.NONE is returned. This is useful when creating rdatasets, allowing the rdataset to contain only SIGs of a particular type, e.g. SIG(NS).
|
extended_rdatatype(self)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.
|
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.
|
Class Variable Details |
---|
from_text
|
from_wire
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 1.1 on Mon Jun 30 15:54:08 2003 | http://epydoc.sf.net |