class documentation

class twisted.names.dns.UnknownRecord(tputil.FancyEqMixin, tputil.FancyStrMixin): (source)

Implements interfaces: twisted.names.dns.IEncodableRecord

View In Hierarchy

Encapsulate the wire data for unknown record types so that they can pass through the system unchanged.

Present Since11.1
Instance Variable data Wire data which makes up this record.
Instance Variable ttl The maximum number of seconds which this record should be cached.
Class Variable TYPE An indicator of what kind of record this is.
Class Variable fancybasename Undocumented
Class Variable compareAttributes Undocumented
Class Variable showAttributes Undocumented
Method __init__ Undocumented
Method encode Write the raw bytes corresponding to this record's payload to the stream.
Method decode Load the bytes which are part of this record from the stream and store them unparsed and unmodified.
Method __hash__ Undocumented

Inherited from FancyEqMixin:

Method __eq__ Undocumented
Method __ne__ Undocumented

Inherited from FancyStrMixin:

Method __str__ Undocumented
data = (source)
Wire data which makes up this record.
(type: bytes)
The maximum number of seconds which this record should be cached.
(type: int)
TYPE = (source)

An indicator of what kind of record this is.

fancybasename = (source)

Undocumented

(type: str)
compareAttributes = (source)

Undocumented

(type: tuple[str, ...])
def __init__(self, data=b'', ttl=None): (source)

Undocumented

def encode(self, strio, compDict=None): (source)

Write the raw bytes corresponding to this record's payload to the stream.

def decode(self, strio, length=None): (source)

Load the bytes which are part of this record from the stream and store them unparsed and unmodified.

def __hash__(self): (source)

Undocumented

API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.