Method Summary |
|
__init__ (self,
rdclass,
rdtype,
covers)
Create a new rdataset of the specified class and type. |
bool
|
__eq__ (self,
other)
Two rdatasets are equal if they have the same class, type, and covers,
and contain the same rdata. |
|
__getstate__(...)
|
|
__iter__(self)
(inherited from SimpleSet )
|
|
__len__(self)
(inherited from SimpleSet )
|
|
__ne__(self,
other)
|
a new object with type S, a subtype of T
|
__new__ (S,
...)
|
|
__repr__(self)
|
|
__str__(self)
|
|
add (self,
rd,
ttl)
Add the specified rdata to the rdataset. |
|
clear (self)
Make the set empty. (inherited from SimpleSet )
|
|
difference_update (self,
other)
Update the set, removing any elements from other which are in the
set. (inherited from SimpleSet )
|
|
discard (self,
item)
Remove an item from the set if present. (inherited from SimpleSet )
|
|
intersection_update (self,
other)
Update the set, removing any elements from other which are not in both
sets. (inherited from SimpleSet )
|
|
match (self,
rdclass,
rdtype,
covers)
Returns True if this rdataset matches the specified class, type, and
covers |
|
remove (self,
item)
Remove an item from the set. (inherited from SimpleSet )
|
|
to_text (self,
name,
origin,
relativize,
override_rdclass,
**kw)
Convert the rdataset into DNS master file format. |
int
|
to_wire (self,
name,
file,
compress,
origin,
override_rdclass,
want_shuffle)
Convert the rdataset to wire format. |
|
union_update (self,
other)
Update the set, adding any elements from other which are not already
in the set. (inherited from SimpleSet )
|
|
update (self,
other)
Add all rdatas in other to self. |
|
update_ttl (self,
ttl)
Set the TTL of the rdataset to be the lesser of the set's current TTL
or the specified TTL. |