ó [³XMc@s÷dZddlZddlZddlmZddlmZmZdejfd„ƒYZ dejfd„ƒYZ d ejfd „ƒYZ d ejfd „ƒYZ d ejfd„ƒYZ dejfd„ƒYZdejfd„ƒYZdS(szImplement standard (and unused) TCP protocols. These protocols are either provided by inetd, or are not provided at all. iÿÿÿÿN(t implements(tprotocolt interfacestEchocBseZdZd„ZRS(s8As soon as any data is received, write it back (RFC 862)cCs|jj|ƒdS(N(t transporttwrite(tselftdata((s:/usr/lib/python2.7/dist-packages/twisted/protocols/wire.pyt dataReceiveds(t__name__t __module__t__doc__R(((s:/usr/lib/python2.7/dist-packages/twisted/protocols/wire.pyRstDiscardcBseZdZd„ZRS(s#Discard any received data (RFC 863)cCsdS(N((RR((s:/usr/lib/python2.7/dist-packages/twisted/protocols/wire.pyRs(R R R R(((s:/usr/lib/python2.7/dist-packages/twisted/protocols/wire.pyR stChargencBsEeZdZdZeejƒd„Zd„Zd„Z d„Z RS(s"Generate repeating noise (RFC 864)sG@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !"#$%&?cCs|jj|dƒdS(Ni(RtregisterProducer(R((s:/usr/lib/python2.7/dist-packages/twisted/protocols/wire.pytconnectionMade&scCs|jj|jƒdS(N(RRtnoise(R((s:/usr/lib/python2.7/dist-packages/twisted/protocols/wire.pytresumeProducing)scCsdS(N((R((s:/usr/lib/python2.7/dist-packages/twisted/protocols/wire.pytpauseProducing,scCsdS(N((R((s:/usr/lib/python2.7/dist-packages/twisted/protocols/wire.pyt stopProducing/s( R R R RRRt IProducerRRRR(((s:/usr/lib/python2.7/dist-packages/twisted/protocols/wire.pyR s    tQOTDcBs eZdZd„Zd„ZRS(s#Return a quote of the day (RFC 865)cCs'|jj|jƒƒ|jjƒdS(N(RRtgetQuotetloseConnection(R((s:/usr/lib/python2.7/dist-packages/twisted/protocols/wire.pyR6scCsdS(s0Return a quote. May be overrriden in subclasses.s'An apple a day keeps the doctor away. ((R((s:/usr/lib/python2.7/dist-packages/twisted/protocols/wire.pyR:s(R R R RR(((s:/usr/lib/python2.7/dist-packages/twisted/protocols/wire.pyR3s tWhocBs eZdZd„Zd„ZRS(s%Return list of active users (RFC 866)cCs'|jj|jƒƒ|jjƒdS(N(RRtgetUsersR(R((s:/usr/lib/python2.7/dist-packages/twisted/protocols/wire.pyRAscCsdS(s,Return active users. Override in subclasses.sroot ((R((s:/usr/lib/python2.7/dist-packages/twisted/protocols/wire.pyREs(R R R RR(((s:/usr/lib/python2.7/dist-packages/twisted/protocols/wire.pyR>s tDaytimecBseZdZd„ZRS(s-Send back the daytime in ASCII form (RFC 867)cCs=|jjtjtjtjƒƒƒdƒ|jjƒdS(Ns (RRttimetasctimetgmtimeR(R((s:/usr/lib/python2.7/dist-packages/twisted/protocols/wire.pyRMs,(R R R R(((s:/usr/lib/python2.7/dist-packages/twisted/protocols/wire.pyRJstTimecBseZdZd„ZRS(s5Send back the time in machine readable form (RFC 868)cCs?tjdttjƒƒƒ}|jj|ƒ|jjƒdS(Ns!i(tstructtpacktintRRRR(Rtresult((s:/usr/lib/python2.7/dist-packages/twisted/protocols/wire.pyRUs(R R R R(((s:/usr/lib/python2.7/dist-packages/twisted/protocols/wire.pyRRs(R RRtzope.interfaceRttwisted.internetRRtProtocolRR R RRRR(((s:/usr/lib/python2.7/dist-packages/twisted/protocols/wire.pyts