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 | |
---|---|
dict | _by_text : The rdata class textual name to value mapping |
dict | _by_value : The rdata class value to textual name mapping |
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. |
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 |
---|
_by_textThe rdata class textual name to value mapping
|
_by_valueThe rdata class value to textual name mapping
|
_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.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Nov 25 17:43:05 2007 | http://epydoc.sf.net |