Package twisted :: Package protocols :: Module dns :: Class Message
[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
NoneType add = None                                                                  
NoneType answers = None                                                                  
str headerFmt = '!H2B4H'
int headerSize = 12                                                                    
NoneType ns = None                                                                  
NoneType queries = None                                                                  

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:
NoneType
Value:
None                                                                  

answers

Type:
NoneType
Value:
None                                                                  

headerFmt

Type:
str
Value:
'!H2B4H'                                                               

headerSize

Type:
int
Value:
12                                                                    

ns

Type:
NoneType
Value:
None                                                                  

queries

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.0 on Sat Sep 13 04:21:00 2003 http://epydoc.sf.net