Home | Trees | Index | Help |
|
---|
Package dns :: Module message :: Class _WireReader |
|
object
--+
|
_WireReader
Method Summary | |
---|---|
__init__(self,
wire,
message,
question_only)
| |
a new object with type S, a subtype of T |
|
Read a wire format DNS message and build a dns.message.Message object. | |
Read the next qcountrecords from the wire data and add them to the question section. | |
Read the next countrecords from the wire data and add them to the specified section. |
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 |
---|
__new__(S, ...)
|
read(self)Read a wire format DNS message and build a dns.message.Message object. |
_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.
|
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 1.1 on Wed Jul 30 23:38:05 2003 | http://epydoc.sf.net |