Package dns :: Package rdtypes :: Module nsbase :: Class UncompressedNS
[show private | hide private]
[frames | no frames]

Type UncompressedNS

object --+        
         |        
     Rdata --+    
             |    
        NSBase --+
                 |
                UncompressedNS

Known Subclasses:
DNAME, NSAP_PTR

Base class for rdata that is like an NS record, but whose name is not compressed when convert to DNS wire format.
Method Summary
string to_wire(self, file, compress, origin)
Convert an rdata to wire format.
    Inherited from NSBase
  __init__(self, rdclass, rdtype, target)
  choose_relativity(self, origin, relativize)
Convert any domain names in the rdata to the specified relativization.
  from_text(cls, rdclass, rdtype, tok, origin, relativize)
(Class method)
  from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin)
(Class method)
string to_text(self, origin, relativize, **kw)
Convert an rdata to text format.
    Inherited from Rdata
  __eq__(self, other)
  __ge__(self, other)
  __gt__(self, other)
  __le__(self, other)
  __lt__(self, other)
  __ne__(self, other)
  __repr__(self)
  __str__(self)
int covers(self)
DNS SIG/RRSIG rdatas apply to a specific type; this type is returned by the covers() function.
int 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.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value

Instance Variable Summary
    Inherited from NSBase
dns.name.Name object target: the target name of the rdata

Class Variable Summary
    Inherited from NSBase
list __slots__ = ['target']
    Inherited from Rdata
member_descriptor rdclass = <member 'rdclass' of 'Rdata' objects>
member_descriptor rdtype = <member 'rdtype' of 'Rdata' objects>

Instance Method Details

to_wire(self, file, compress=None, origin=None)

Convert an rdata to wire format.
Returns:
string
Overrides:
dns.rdtypes.nsbase.NSBase.to_wire (inherited documentation)

Generated by Epydoc 2.1 on Sun Jul 31 21:35:42 2005 http://epydoc.sf.net