Package twisted :: Package protocols :: Module dns :: Class Query
[frames | no frames]

Class Query


Represent a single DNS query.
Method Summary
  __init__(self, name, type, cls)
  __cmp__(self, other)
  __hash__(self)
  __repr__(self)
  __str__(self)
  decode(self, strio, length)
  encode(self, strio, compDict)

Instance Variable Summary
NoneType cls: The query class.
NoneType name: The name about which this query is requesting information.
NoneType type: The query type.

Class Variable Summary
tuple __implements__ = (<class twisted.protocols.dns.IEncodabl...

Method Details

__init__(self, name='', type=1, cls=1)
(Constructor)

Parameters:
name - The name about which to request information.
           (type=str)
type - The query type.
           (type=int)
cls - The query class.
           (type=int)

Instance Variable Details

cls

The query class.
Type:
NoneType
Value:
None                                                                  

name

The name about which this query is requesting information.
Type:
NoneType
Value:
None                                                                  

type

The query type.
Type:
NoneType
Value:
None                                                                  

Class Variable Details

__implements__

Type:
tuple
Value:
(<class twisted.protocols.dns.IEncodable at 0x87c13fc>,)               

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