Home | Trees | Index | Help |
|
---|
Package dns :: Module rdataset :: Class Rdataset |
|
object
--+ |Set
--+ | Rdataset
RRset
Method Summary | |
---|---|
Create a new rdataset of the specified class and type. | |
__add__(self,
other)
(inherited from Set )
| |
__and__(self,
other)
(inherited from Set )
| |
Make a (shallow) copy of the set. (inherited from Set )
| |
bool |
Two rdatasets are equal if they have the same class, type, and covers, and contain the same rdata. |
__iadd__(self,
other)
(inherited from Set )
| |
__iand__(self,
other)
(inherited from Set )
| |
__ior__(self,
other)
(inherited from Set )
| |
__isub__(self,
other)
(inherited from Set )
| |
__iter__(self)
(inherited from Set )
| |
__len__(self)
(inherited from Set )
| |
__ne__(self,
other)
| |
a new object with type S, a subtype of T |
|
__or__(self,
other)
(inherited from Set )
| |
__repr__(self)
| |
__str__(self)
| |
__sub__(self,
other)
(inherited from Set )
| |
Add the specified rdata to the rdataset. | |
Make the set empty. (inherited from Set )
| |
Make a (shallow) copy of the set. (inherited from Set )
| |
the same type as self |
Return a new set which self - other, i.e. (inherited from Set )
|
Update the set, removing any elements from other which are in the set. (inherited from Set )
| |
Remove an item from the set if present. (inherited from Set )
| |
the same type as self |
Return a new set which is the intersection of self and other. (inherited from Set )
|
Update the set, removing any elements from other which are not in both sets. | |
bool |
Is self a subset of other? (inherited from Set )
|
bool |
Is self a superset of other? (inherited from Set )
|
Returns True if this rdataset matches the specified class, type, and covers | |
Remove an item from the set. (inherited from Set )
| |
Convert the rdataset into DNS master file format. | |
int |
Convert the rdataset to wire format. |
the same type as self |
Return a new set which is the union of self and other. (inherited from Set )
|
Update the set, adding any elements from other which are not already in the set. | |
Add all rdatas in other to self. | |
Set the TTL of the rdataset to be the lesser of the set's current TTL or the specified TTL. |
Instance Variable Summary | |
---|---|
covers
- The covered type. | |
rdclass
- The class of the rdataset | |
rdtype
- The type of the rdataset | |
ttl
- The DNS TTL (Time To Live) value |
Class Variable Summary | |
---|---|
list |
__slots__
|
int | covers
|
int | rdclass
|
int | rdtype
|
int | ttl
|
Method Details |
---|
__init__(self,
rdclass,
rdtype,
covers=0)
Create a new rdataset of the specified class and type.
|
__eq__(self,
other)
Two rdatasets are equal if they have the same class, type, and covers,
and contain the same rdata.
|
__new__(S, ...)
|
add(self, rd, ttl=None)Add the specified rdata to the rdataset. If the optional ttl parameter is supplied, then self.update_ttl(ttl) will be called prior to adding the rdata.
|
intersection_update(self, other)Update the set, removing any elements from other which are not in both sets.
|
match(self, rdclass, rdtype, covers)Returns True if this rdataset matches the specified class, type, and covers |
to_text(self, name=None, origin=None, relativize=True, override_rdclass=None, **kw)Convert the rdataset into DNS master file format.
|
to_wire(self, name, file, compress=None, origin=None, override_rdclass=None, want_shuffle=True)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.
|
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. If the set contains no rdatas, set the TTL to the specified TTL.
|
Instance Variable Details |
---|
rdclassThe class of the rdataset |
rdtypeThe type of the rdataset |
ttlThe DNS TTL (Time To Live) value |
Class Variable Details |
---|
__slots__
|
covers
|
rdclass
|
rdtype
|
ttl
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 1.1 on Sun Jun 6 13:48:45 2004 | http://epydoc.sf.net |