Your IP : 172.28.240.42


Current Path : /usr/lib/python2.7/dist-packages/twisted/spread/
Upload File :
Current File : //usr/lib/python2.7/dist-packages/twisted/spread/refpath.pyc

ó
[³XMc@sdZddlmZddlZddlZddlmZddlmZmZej	dde
dd	ƒd
dd„ƒYZddd
„ƒYZdefd„ƒYZ
defd„ƒYZdefd„ƒYZdefd„ƒYZddd„ƒYZdS(sa
Path-based references for PB, and other reference-based protocols.

Maintainer: Glyph Lefkowitz
iÿÿÿÿ(tcopyN(tlog(t
ReferenceabletViewables7twisted.spread.refpath is deprecated since Twisted 9.0.tcategoryt
stacklevelitPathReferenceContextcBs,eZd„Zd„Zd„Zd„ZRS(cCsi|_||_||_dS(N(tmetadatatpathtroot(tselfRR	((s:/usr/lib/python2.7/dist-packages/twisted/spread/refpath.pyt__init__s		cCs||j|<dS(N(R(R
tkeytitem((s:/usr/lib/python2.7/dist-packages/twisted/spread/refpath.pyt__setitem__scCs|j|S(N(R(R
R((s:/usr/lib/python2.7/dist-packages/twisted/spread/refpath.pyt__getitem__ scCs3|j}x#|jD]}|j||ƒ}qW|S(N(R	RtgetChild(R
totp((s:/usr/lib/python2.7/dist-packages/twisted/spread/refpath.pyt	getObject#s	(t__name__t
__module__RRRR(((s:/usr/lib/python2.7/dist-packages/twisted/spread/refpath.pyRs			t
PathReferencecBseZd„Zd„ZRS(cCs
i|_dS(N(tchildren(R
((s:/usr/lib/python2.7/dist-packages/twisted/spread/refpath.pyR*scCs|j|S(N(R(R
tchildtctx((s:/usr/lib/python2.7/dist-packages/twisted/spread/refpath.pyR,s(RRRR(((s:/usr/lib/python2.7/dist-packages/twisted/spread/refpath.pyR)s	tPathReferenceDirectorycBseZdd„Zd„ZRS(tremotecCs||_||_dS(N(R	tprefix(R
R	R((s:/usr/lib/python2.7/dist-packages/twisted/spread/refpath.pyR0s	cOsAt||ƒ}|jƒ}tt|d|j|fƒ||ƒS(Ns%s_%s(RRtapplytgetattrR(R
RtnametargstkwRtobj((s:/usr/lib/python2.7/dist-packages/twisted/spread/refpath.pytremote_callPath3s(RRRR#(((s:/usr/lib/python2.7/dist-packages/twisted/spread/refpath.pyR/stPathReferenceContextDirectorycBseZdd„Zd„ZRS(RcCs||_||_dS(N(R	R(R
R	R((s:/usr/lib/python2.7/dist-packages/twisted/spread/refpath.pyR9s	cOsHt||ƒ}|jƒ}tt|d|j|fƒ|f||ƒS(Ns%s_%s(RRRRR(R
RRR R!RR"((s:/usr/lib/python2.7/dist-packages/twisted/spread/refpath.pyR#<s(RRRR#(((s:/usr/lib/python2.7/dist-packages/twisted/spread/refpath.pyR$8stPathViewDirectorycBseZdd„Zd„ZRS(tviewcCs||_||_dS(N(R	R(R
R	R((s:/usr/lib/python2.7/dist-packages/twisted/spread/refpath.pyRCs	cOsHt||ƒ}|jƒ}tt|d|j|fƒ|f||ƒS(Ns%s_%s(RRRRR(R
tperspectiveRRR R!RR"((s:/usr/lib/python2.7/dist-packages/twisted/spread/refpath.pyt
view_callPathFs(RRRR((((s:/usr/lib/python2.7/dist-packages/twisted/spread/refpath.pyR%BstPathViewContextDirectorycBseZdd„Zd„ZRS(R&cCs||_||_dS(N(R	R(R
R	R((s:/usr/lib/python2.7/dist-packages/twisted/spread/refpath.pyRMs	cOsKt||ƒ}|jƒ}tt|d|j|fƒ||f||ƒS(Ns%s_%s(RRRRR(R
R'RRR R!RR"((s:/usr/lib/python2.7/dist-packages/twisted/spread/refpath.pyR(Ps(RRRR((((s:/usr/lib/python2.7/dist-packages/twisted/spread/refpath.pyR)LstRemotePathReferencecBseZd„Zd„ZRS(cCs||_||_dS(N(trefR(R
R+R((s:/usr/lib/python2.7/dist-packages/twisted/spread/refpath.pyRYs	cOs*t|jjd|j|f||ƒdS(NtcallPath(RR+t
callRemoteR(R
RR R!((s:/usr/lib/python2.7/dist-packages/twisted/spread/refpath.pyR-]s(RRRR-(((s:/usr/lib/python2.7/dist-packages/twisted/spread/refpath.pyR*Xs	((((t__doc__Rtostwarningsttwisted.pythonRttwisted.spread.flavorsRRtwarntDeprecationWarningRRRR$R%R)R*(((s:/usr/lib/python2.7/dist-packages/twisted/spread/refpath.pyt<module>s