Home | Trees | Index | Help |
|
---|
Package dns :: Module message :: Class _WireReader |
|
object
--+
|
_WireReader
Method Summary | |
---|---|
__init__(self,
wire,
message,
question_only)
| |
Read the next qcount records from the wire data and add them to the question section. | |
Read the next count records from the wire data and add them to the specified section. | |
Read a wire format DNS message and build a dns.message.Message object. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Instance Variable Summary | |
---|---|
int | current : When building a message object from wire format, this variable
contains the offset from the beginning of wire of the next octet to be
read. |
dns.message.Message object | message : The message object being built |
bool | updating : Is the message a dynamic update? |
string | wire : the wire-format message. |
int | zone_rdclass : The class of the zone in messages which are DNS dynamic updates. |
Method Details |
---|
_get_question(self, qcount)Read the next qcount records from the wire data and add them to the question section.
|
_get_section(self, section, count)Read the next count records from the wire data and add them to the specified section.
|
read(self)Read a wire format DNS message and build a dns.message.Message object. |
Instance Variable Details |
---|
currentWhen building a message object from wire format, this variable contains the offset from the beginning of wire of the next octet to be read.
|
messageThe message object being built
|
updatingIs the message a dynamic update?
|
wirethe wire-format message.
|
zone_rdclassThe class of the zone in messages which are DNS dynamic updates.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Jan 30 10:41:36 2005 | http://epydoc.sf.net |