twisted.names.dns.UnknownRecord(tputil.FancyEqMixin, tputil.FancyStrMixin, object) class documentationtwisted.names.dns
View Source
(View In Hierarchy)
Implements interfaces: twisted.names.dns.IEncodable, twisted.names.dns.IRecord
Encapsulate the wire data for unknown record types so that they can pass through the system unchanged.
| Present Since | 11.1 | |
| Instance Variable | data | Wire data which makes up this record. (type: bytes) |
| Instance Variable | ttl | The maximum number of seconds which this record should be cached. (type: int) |
| 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 FancyStrMixin:
| Method | __str__ | Undocumented |
Inherited from FancyStrMixin:
| Method | __str__ | Undocumented |
Write the raw bytes corresponding to this record's payload to the stream.
Load the bytes which are part of this record from the stream and store them unparsed and unmodified.