Home | Trees | Index | Help |
|
---|
Package dns :: Module rdatatype |
|
Exceptions | |
---|---|
UnknownRdatatype |
Raised if a type is unknown. |
Function Summary | |
---|---|
int |
Convert text into a DNS rdata type value. |
bool |
True if the type is a metatype. |
bool |
True if the type is a singleton. |
string |
Convert a DNS rdata type to text. |
Variable Summary | |
---|---|
dict | _by_text : The rdata type textual name to value mapping |
dict | _by_value : The rdata type value to textual name mapping |
dict | _metatypes : If an rdatatype is a metatype, there will be a mapping whose key is
the rdatatype value and whose value is True in this dictionary. |
dict | _singletons : If an rdatatype is a singleton, 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 type value.
|
is_metatype(rdtype)True if the type is a metatype.
|
is_singleton(rdtype)True if the type is a singleton.
|
to_text(value)Convert a DNS rdata type to text.
|
Variable Details |
---|
_by_textThe rdata type textual name to value mapping
|
_by_valueThe rdata type value to textual name mapping
|
_metatypesIf an rdatatype is a metatype, there will be a mapping whose key is the rdatatype value and whose value is True in this dictionary.
|
_singletonsIf an rdatatype is a singleton, 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 |