Home | Trees | Index | Help |
|
---|
Package DNS :: Module rdataclass |
|
Exceptions | |
---|---|
UnknownRdataclass |
Raised when a class is unknown. |
Function Summary | |
---|---|
int |
Convert text into a DNS rdata class value. |
bool |
True if the class is a metaclass. |
string |
Convert a DNS rdata class to text. |
Variable Summary | |
---|---|
int |
ANY
|
int |
CH
|
int |
HS
|
int |
IN
|
dict | metaclasses
- If an rdataclass is a metaclass, there will be a mapping whose key is
the rdatatype value and whose value is True in this dictionary. |
int |
NONE
|
int |
RESERVED0
|
dict | _by_text
- The rdata class textual name to value mapping |
dict | _by_value
- The rdata class value to textual name mapping |
SRE_Pattern |
_unknown_class_pattern
|
Function Details |
---|
from_text(text)Convert text into a DNS rdata class value.
|
is_metaclass(rdclass)True if the class is a metaclass.
|
to_text(value)Convert a DNS rdata class to text.
|
Variable Details |
---|
ANY
|
CH
|
HS
|
IN
|
metaclassesIf an rdataclass is a metaclass, there will be a mapping whose key is the rdatatype value and whose value is True in this dictionary.
|
NONE
|
RESERVED0
|
_by_textThe rdata class textual name to value mapping
|
_by_valueThe rdata class value to textual name mapping
|
_unknown_class_pattern
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 1.1 on Tue Jun 17 03:55:14 2003 | http://epydoc.sf.net |