Back to index

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

List of all members.

Public Member Functions

def setup
def finish
def handle

Public Attributes

 socket
 rfile
 wfile
 request
 client_address
 server

Detailed Description

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

Definition at line 698 of file socketserver.py.


Member Function Documentation

Reimplemented from socketserver.BaseRequestHandler.

Definition at line 711 of file socketserver.py.

00711 
00712     def finish(self):
00713         self.socket.sendto(self.wfile.getvalue(), self.client_address)

Here is the caller graph for this function:

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

Reimplemented from socketserver.BaseRequestHandler.

Definition at line 705 of file socketserver.py.

00705 
00706     def setup(self):
00707         from io import BytesIO
00708         self.packet, self.socket = self.request
00709         self.rfile = BytesIO(self.packet)
00710         self.wfile = BytesIO()

Here is the caller graph for this function:


Member Data Documentation

Definition at line 634 of file socketserver.py.

Definition at line 633 of file socketserver.py.

Definition at line 708 of file socketserver.py.

Definition at line 635 of file socketserver.py.

Definition at line 707 of file socketserver.py.

Definition at line 709 of file socketserver.py.


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