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

Type _TextReader

object --+
         |
        _TextReader


Text format reader.
Method Summary
  __init__(self, text, message)
  _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.
  read(self)
Read a text format DNS message and build a dns.message.Message object.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

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

_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.

read(self)

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

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 2.1 on Sun Dec 10 12:46:08 2006 http://epydoc.sf.net