Package dns :: Module message :: Class _TextReader |
[hide private]
[frames] | no frames]

# Class _TextReader

source code

    object --+
             |
            _TextReader

Text format reader.

Instance Methods | [hide private]
__init__(self, text, message) x.__init__(...) initializes x; see x.__class__.__doc__ for signature | source code
_header_line(self, section) Process one line from the text format header section. | source code
_question_line(self, section) Process one line from the text format question section. | source code
_rr_line(self, section) Process one line from the text format answer, authority, or additional data sections. | source code
read(self) Read a text format DNS message and build a dns.message.Message object. | source code
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Instance Variables | [hide private]
dns.name.Name object | last_name The most recently read name when building a message object from text format.
dns.message.Message object | message The message object being built
dns.tokenizer.Tokenizer object | tok the tokenizer
bool | updating Is the message a dynamic update?
int | zone_rdclass The class of the zone in messages which are DNS dynamic updates.

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, text, message) (Constructor) | source code
x.__init__(...) initializes x; see x.__class__.__doc__ for signature Overrides: object.__init__ (inherited documentation)