Package twisted :: Package protocols :: Module dns :: Class Message
[show private | hide private]
[frames | no frames]

Class Message


Method Summary
  __init__(self, id, answer, opCode, recDes, recAv, auth, rCode, trunc, maxSize)
  addQuery(self, name, type, cls)
Add another query to this Message.
  decode(self, strio, length)
  encode(self, strio)
  fromStr(self, str)
  lookupRecordType(self, type)
  parseRecords(self, list, num, strio)
  toStr(self)

Class Variable Summary
None add
None answers
string headerFmt
int headerSize
None ns
None queries

Method Details

addQuery(self, name, type=255, cls=1)

Add another query to this Message.
Parameters:
name - The name to query.
           (type=str)
type - Query type
           (type=int)
cls - Query class
           (type=int)

Class Variable Details

add

Type:
None
Value:
None                                                                   

answers

Type:
None
Value:
None                                                                   

headerFmt

Type:
string
Value:
'!H2B4H'                                                               

headerSize

Type:
int
Value:
12                                                                     

ns

Type:
None
Value:
None                                                                   

queries

Type:
None
Value:
None                                                                   

Generated by Epydoc 1.1 on Sat Feb 15 21:19:11 2003 http://epydoc.sf.net