Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes | Static Public Attributes
socketserver.StreamRequestHandler Class Reference
Inheritance diagram for socketserver.StreamRequestHandler:
Inheritance graph
[legend]
Collaboration diagram for socketserver.StreamRequestHandler:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def setup
def finish
def handle

Public Attributes

 connection
 rfile
 wfile
 request
 client_address
 server

Static Public Attributes

int rbufsize = 1
int wbufsize = 0
 timeout = None
 disable_nagle_algorithm = False

Detailed Description

Define self.rfile and self.wfile for stream sockets.

Definition at line 660 of file socketserver.py.


Member Function Documentation

Reimplemented from socketserver.BaseRequestHandler.

Reimplemented in test.test_wsgiref.MockHandler.

Definition at line 691 of file socketserver.py.

00691 
00692     def finish(self):
00693         if not self.wfile.closed:
00694             self.wfile.flush()
00695         self.wfile.close()
00696         self.rfile.close()
00697 

Here is the caller graph for this function:

def socketserver.BaseRequestHandler.handle (   self) [inherited]

Reimplemented from socketserver.BaseRequestHandler.

Reimplemented in test.test_wsgiref.MockHandler.

Definition at line 681 of file socketserver.py.

00681 
00682     def setup(self):
00683         self.connection = self.request
00684         if self.timeout is not None:
00685             self.connection.settimeout(self.timeout)
00686         if self.disable_nagle_algorithm:
00687             self.connection.setsockopt(socket.IPPROTO_TCP,
00688                                        socket.TCP_NODELAY, True)
00689         self.rfile = self.connection.makefile('rb', self.rbufsize)
00690         self.wfile = self.connection.makefile('wb', self.wbufsize)

Here is the caller graph for this function:


Member Data Documentation

Definition at line 634 of file socketserver.py.

Reimplemented in test.test_wsgiref.MockHandler.

Definition at line 682 of file socketserver.py.

Reimplemented in xmlrpc.server.SimpleXMLRPCRequestHandler.

Definition at line 679 of file socketserver.py.

Reimplemented in http.server.CGIHTTPRequestHandler.

Definition at line 671 of file socketserver.py.

Definition at line 633 of file socketserver.py.

Definition at line 688 of file socketserver.py.

Definition at line 635 of file socketserver.py.

Reimplemented in test.test_imaplib.SimpleIMAPHandler.

Definition at line 675 of file socketserver.py.

Reimplemented in xmlrpc.server.SimpleXMLRPCRequestHandler.

Definition at line 672 of file socketserver.py.

Reimplemented in test.test_wsgiref.MockHandler.

Definition at line 689 of file socketserver.py.


The documentation for this class was generated from the following file: