t.n.d.Record_NAPTR(tputil.FancyEqMixin, tputil.FancyStrMixin) : class documentation

Part of twisted.names.dns View Source View In Hierarchy

The location of the server(s) for a specific protocol and domain.
See Alsohttp://www.faqs.org/rfcs/rfc2915.html
Instance Variable order An integer specifying the order in which the NAPTR records MUST be processed to ensure the correct ordering of rules. Low numbers are processed before high numbers. (type: int)
Instance Variable preference An integer that specifies the order in which NAPTR records with equal "order" values SHOULD be processed, low numbers being processed before high numbers. (type: int)
Instance Variable flag A <character-string> containing flags to control aspects of the rewriting and interpretation of the fields in the record. Flags are single characters from the set [A-Z0-9]. The case of the alphabetic characters is not significant.

At this time only four flags, "S", "A", "U", and "P", are defined.

(type: Charstr)
Instance Variable service Specifies the service(s) available down this rewrite path. It may also specify the particular protocol that is used to talk with a service. A protocol MUST be specified if the flags field states that the NAPTR is terminal. (type: Charstr)
Instance Variable regexp A STRING containing a substitution expression that is applied to the original string held by the client in order to construct the next domain name to lookup. (type: Charstr)
Instance Variable replacement The next NAME to query for NAPTR, SRV, or address records depending on the value of the flags field. This MUST be a fully qualified domain-name. (type: Name)
Instance Variable ttl The maximum number of seconds which this record should be cached. (type: int)
Method __init__ Undocumented
Method encode Undocumented
Method decode Undocumented
Method __hash__ Undocumented

Inherited from FancyEqMixin:

Method __eq__ Undocumented
Method __ne__ Undocumented

Inherited from FancyStrMixin:

Method __str__ Undocumented
order =
An integer specifying the order in which the NAPTR records MUST be processed to ensure the correct ordering of rules. Low numbers are processed before high numbers. (type: int)
preference =
An integer that specifies the order in which NAPTR records with equal "order" values SHOULD be processed, low numbers being processed before high numbers. (type: int)
flag =
A <character-string> containing flags to control aspects of the rewriting and interpretation of the fields in the record. Flags are single characters from the set [A-Z0-9]. The case of the alphabetic characters is not significant.

At this time only four flags, "S", "A", "U", and "P", are defined.

(type: Charstr)
service =
Specifies the service(s) available down this rewrite path. It may also specify the particular protocol that is used to talk with a service. A protocol MUST be specified if the flags field states that the NAPTR is terminal. (type: Charstr)
regexp =
A STRING containing a substitution expression that is applied to the original string held by the client in order to construct the next domain name to lookup. (type: Charstr)
replacement =
The next NAME to query for NAPTR, SRV, or address records depending on the value of the flags field. This MUST be a fully qualified domain-name. (type: Name)
ttl =
The maximum number of seconds which this record should be cached. (type: int)
def __init__(self, order=0, preference=0, flags='', service='', regexp='', replacement='', ttl=None): (source)
Undocumented
def encode(self, strio, compDict=None): (source)
Undocumented
def decode(self, strio, length=None): (source)
Undocumented
def __hash__(self): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2014-05-12 18:27:00.