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: //proc/2/cwd/usr/lib/python2.4/site-packages/dns/rdtypes/mxbase.pyc
mò
!`Nc@sdZdkZdkZdkZdkZdkZdeiifd„ƒYZ	de	fd„ƒYZ
de	fd„ƒYZdS(sMX-like base classes.NtMXBasecBs˜tZdZddgZd„Zeed„Zeed„Ze	eƒZeed„Z
ed„Zed„Ze	eƒZeed	„Z
d
„ZRS(sÄBase class for rdata that is like an MX record.

    @ivar preference: the preference value
    @type preference: int
    @ivar exchange: the exchange name
    @type exchange: dns.name.Name objectt
preferencetexchangecCs/tt|ƒi||ƒ||_||_dS(N(tsuperRtselft__init__trdclasstrdtypeRR(RRRRR((t6/usr/lib/python2.4/site-packages/dns/rdtypes/mxbase.pyR#s	cKs&|ii||ƒ}d|i|fS(Ns%d %s(RRtchoose_relativitytorigint
relativizeR(RR
RtkwR((Rtto_text(scCsG|iƒ}|iƒ}|i||ƒ}|iƒ|||||ƒS(N(ttokt
get_uint16Rtget_nameRR	R
Rtget_eoltclsRR(RRRRR
RRR((Rt	from_text,s

cCs<tid|iƒ}|i|ƒ|ii|||ƒdS(Ns!H(tstructtpackRRtpreftfiletwriteRtto_wiretcompressR
(RRRR
R((RR5s
cCs#tid|iƒ|ii|ƒS(Ns!H(RRRRRt
to_digestableR
(RR
((RR:sc
Cs§tid|||d!ƒ\}	|d7}|d8}tii||| |ƒ\}}||jotii‚n|dj	o|i|ƒ}n||||	|ƒS(Ns!Hi(RtunpacktwiretcurrentRtrdlentdnstnamet	from_wireRtcusedt	exceptiont	FormErrorR
tNoneRRRR(
RRRRRRR
RR#R((RR">s 



cCs|ii||ƒ|_dS(N(RRR	R
R(RR
R((RR	LscCsctid|iƒ}tid|iƒ}t||ƒ}|djot|i	|i	ƒ}n|S(Ns!Hi(
RRRRtsptothertoptcmptvR(RR(R'R+R)((Rt_cmpOs
(t__name__t
__module__t__doc__t	__slots__RR&tTrueR
RtclassmethodRRR"R	R,(((RRs	tUncompressedMXcBs)tZdZeed„Zed„ZRS(s§Base class for rdata that is like an MX record, but whose name
    is not compressed when converted to DNS wire format, and whose
    digestable form is not downcased.cCs tt|ƒi|d|ƒdS(N(RR3RRRR&R
(RRRR
((RR\scCs)tiƒ}|i|d|ƒ|iƒS(N(t	cStringIOtStringIOtfRRR&R
tgetvalue(RR
R6((RR_s(R-R.R/R&RR(((RR3WstUncompressedDowncasingMXcBstZdZeed„ZRS(suBase class for rdata that is like an MX record, but whose name
    is not compressed when convert to DNS wire format.cCs tt|ƒi|d|ƒdS(N(RR8RRRR&R
(RRRR
((RRhs(R-R.R/R&R(((RR8ds(R/R4Rt
dns.exceptionR t	dns.rdatatdns.nametrdatatRdataRR3R8(R4R RR8RR3((Rt?s					>