MOON
Server: Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 FrontPage/5.0.2.2635
System: Linux server.asjudinet.com 2.6.32-042stab141.3 #1 SMP Fri Nov 15 22:45:34 MSK 2019 i686
User: asjudine (504)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //usr/lib/python2.4/site-packages/dns/rrset.pyc
mς
!`Nc@sndZdkZdkZdkZdkZdeiifd„ƒYZd„Z	d„Z
d„Zd„ZdS(s)DNS RRsets (an RRset is a named rdataset)NtRRsetcBs†tZdZddgZeiied„Zd„Z	d„Z
d„Zd„Zed„Z
eed	„Zeed
„Zd„ZRS(s6A DNS RRset (named rdataset).

    RRset inherits from Rdataset, and RRsets can be treated as
    Rdatasets in most cases.  There are, however, a few notable
    exceptions.  RRsets have different to_wire() and to_text() method
    arguments, reflecting the fact that RRsets always have an owner
    name.
    tnametdeletingcCs2tt|ƒi|||ƒ||_||_dS(sCreate a new RRset.N(	tsuperRtselft__init__trdclasstrdtypetcoversRR(RRRRRR((t-/usr/lib/python2.4/site-packages/dns/rrset.pyR#s	cCs1tt|ƒiƒ}|i|_|i|_|S(N(RRRt_clonetobjRR(RR((R	R
+scCs΅|idjo
d}ndtii|iƒd}|idj	odtii|iƒ}nd}dt
|iƒdtii|iƒdtii|i
ƒ||dS(	Nitt(t)s delete=s<DNS t s RRset>(RRtctexttdnst	rdatatypetto_textRtNonet
rdataclasstdtexttstrRRR(RRR((R	t__repr__1s
cCs
|iƒS(N(RR(R((R	t__str__>scCsIt|tƒptSn|i|ijotSntt|ƒi|ƒS(scTwo RRsets are equal if they have the same name and the same
        rdataset

        @rtype: boolN(t
isinstancetotherRtFalseRRRt__eq__(RR((R	RAscCsStt|ƒi|||ƒptSn|i|jp|i	|jotSnt
S(saReturns True if this rrset matches the specified class, type,
        covers, and deletion state.N(RRRtmatchRRRRRRtTrue(RRRRRR((R	RLs cKs(tt|ƒi|i|||i|S(sϋConvert the RRset into DNS master file format.

        @see: L{dns.name.Name.choose_relativity} for more information
        on how I{origin} and I{relativize} determine the way names
        are emitted.

        Any additional keyword arguments are passed on to the rdata
        to_text() method.

        @param origin: The origin for relative names, or None.
        @type origin: dns.name.Name object
        @param relativize: True if names should names be relativized
        @type relativize: boolN(	RRRRRtorigint
relativizeRtkw(RR R!R"((R	RVs
cKs+tt|ƒi|i||||i|S(s!Convert the RRset to wire format.N(
RRRtto_wireRtfiletcompressR RR"(RR$R%R R"((R	R#hscCstii|it|ƒƒS(sYConvert an RRset into an Rdataset.

        @rtype: dns.rdataset.Rdataset object
        N(Rtrdatasettfrom_rdata_listRtttltlist(R((R	tto_rdatasetns(t__name__t
__module__t__doc__t	__slots__RRtNONERRR
RRRRRRR#R*(((R	Rs		
		
cCsζt|ttfƒotii|dƒ}nt|ttfƒotii|ƒ}nt|ttfƒoti
i|ƒ}nt|||ƒ}|i
|ƒx9|D]1}tii|i|i	|ƒ}|i|ƒq­W|S(s‘Create an RRset with the specified name, TTL, class, and type, and with
    the specified list of rdatas in text format.

    @rtype: dns.rrset.RRset object
    N(RRRtunicodeRt	from_textRRRRRRtrt
update_ttlR(ttext_rdatastttrdatatrdtadd(RR(RRR4R5R7R2((R	tfrom_text_listvs
cGst|||||ƒS(s˜Create an RRset with the specified name, TTL, class, and type and with
    the specified rdatas in text format.

    @rtype: dns.rrset.RRset object
    N(R9RR(RRR4(RR(RRR4((R	R1ŠscCsΆt|ttfƒotii|dƒ}nt|ƒdjot	dƒ‚nd}xW|D]O}|djo/t||i
|iƒ}|i|ƒt}n|i|ƒq_W|S(s‹Create an RRset with the specified name and TTL, and with
    the specified list of rdata objects.

    @rtype: dns.rrset.RRset object
    isrdata list must not be emptyN(RRRR0RR1Rtlentrdatast
ValueErrorR2R7RRRR3R(Rt
first_timeR8(RR(R;R7R=R2((R	R'“s


cGst|||ƒS(sƒCreate an RRset with the specified name and TTL, and with
    the specified rdata objects.

    @rtype: dns.rrset.RRset object
    N(R'RR(R;(RR(R;((R	t
from_rdata¨s(
R-tdns.nameRtdns.rdatasettdns.rdataclasstdns.rendererR&tRdatasetRR9R1R'R>(R>R'RRR1R9((R	t?s				_