dns :: rdtypes :: mxbase :: UncompressedMX :: Class UncompressedMX |
[hide private]
[frames] | no frames]

# Class UncompressedMX

source code

     object --+
              |
    rdata.Rdata --+
                  |
             MXBase --+
                      |
                     UncompressedMX

Known Subclasses:
  - IN.KX.KX

Base class for rdata that is like an MX record, but whose name is not compressed when converted to DNS wire format, and whose digestable form is not downcased.

Instance Methods | [hide private]
to_digestable(self, origin=None) Convert rdata to a format suitable for digesting in hashes. | source code
string |
to_wire(self, file, compress=None, origin=None) Convert an rdata to wire format. | source code
Inherited from `MXBase`: `__init__`, `choose_relativity`, `to_text` Inherited from `rdata.Rdata`: `__eq__`, `__ge__`, `__gt__`, `__hash__`, `__le__`, `__lt__`, `__ne__`, `__repr__`, `__str__`, `covers`, `extended_rdatatype`, `validate` Inherited from `rdata.Rdata` (private): `_cmp` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__subclasshook__`

Class Methods | [hide private]
Inherited from `MXBase`: `from_text`, `from_wire`

Instance Variables | [hide private]
Inherited from `MXBase`: `exchange`, `preference`

Properties | [hide private]
Inherited from `rdata.Rdata`: `rdclass`, `rdtype` Inherited from `object`: `__class__`

Method Details | [hide private]

### to_digestable(self, origin=None) | source code
Convert rdata to a format suitable for digesting in hashes. This is also the DNSSEC canonical form. Overrides: rdata.Rdata.to_digestable (inherited documentation)

### to_wire(self, file, compress=None, origin=None) | source code
Convert an rdata to wire format. Returns: string Overrides: rdata.Rdata.to_wire (inherited documentation)