Package cherrypy :: Package wsgiserver :: Module wsgiserver2 :: Class CP_fileobject
[hide private]
[frames] | no frames]

Class CP_fileobject

source code

        object --+    
                 |    
socket._fileobject --+
                     |
                    CP_fileobject
Known Subclasses:

Faux file object attached to a socket object.

Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
sendall(self, data)
Sendall for non-blocking sockets.
source code
 
send(self, data) source code
 
flush(self) source code
 
recv(self, size) source code
 
read(self, size=-1) source code
 
readline(self, size=-1) source code

Inherited from socket._fileobject: __del__, __iter__, close, fileno, next, readlines, write, writelines

Inherited from socket._fileobject (private): _getclosed

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from socket._fileobject: default_bufsize, name

Properties [hide private]

Inherited from socket._fileobject: bufsize, closed, mode, softspace

Inherited from socket._fileobject (private): _close, _rbuf, _rbufsize, _sock, _wbuf, _wbuf_len, _wbufsize

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

flush(self)

source code 
Overrides: socket._fileobject.flush

read(self, size=-1)

source code 
Overrides: socket._fileobject.read

readline(self, size=-1)

source code 
Overrides: socket._fileobject.readline