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

Class _TextReader

object --+
         |
        _TextReader


Text format reader.
Method Summary
  __init__(self, text, message)
a new object with type S, a subtype of T __new__(S, ...)
  read(self)
Read a text format DNS message and build a dns.message.Message object.
  _header_line(self, section)
Process one line from the text format header section.
  _question_line(self, section)
Process one line from the text format question section.
  _rr_line(self, section)
Process one line from the text format answer, authority, or additional data sections.

Instance Variable Summary
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.

Method Details

__new__(S, ...)

Returns:
a new object with type S, a subtype of T

read(self)

Read a text format DNS message and build a dns.message.Message object.

_header_line(self, section)

Process one line from the text format header section.

_question_line(self, section)

Process one line from the text format question section.

_rr_line(self, section)

Process one line from the text format answer, authority, or additional data sections.

Instance Variable Details

last_name

The most recently read name when building a message object from text format.
Type:
dns.name.Name object

message

The message object being built
Type:
dns.message.Message object

tok

the tokenizer
Type:
dns.tokenizer.Tokenizer object

updating

Is the message a dynamic update?
Type:
bool

zone_rdclass

The class of the zone in messages which are DNS dynamic updates.
Type:
int

Generated by Epydoc 1.1 on Sat Sep 6 01:38:35 2003 http://epydoc.sf.net