class documentation
An example class for use in dns._compactRepr
tests. It follows the pattern of initialiser settable flags, fields and sections found in dns.Message
and dns._EDNSMessage
.
Method | __init__ |
Set some flags, fields and sections as public attributes. |
Method | __repr__ |
Call dns._compactRepr to generate a string representation. |
Instance Variable | always |
Undocumented |
Instance Variable | field1 |
Undocumented |
Instance Variable | field2 |
Undocumented |
Instance Variable | flag |
Undocumented |
Instance Variable | flag |
Undocumented |
Instance Variable | section1 |
Undocumented |
def __init__(self, field1=1, field2=2, alwaysShowField='AS', flagTrue=True, flagFalse=False, section1=None):
¶
Set some flags, fields and sections as public attributes.