Module SocketServer :: Class UDPServer
[show private | hide private]
[frames | no frames]

Class UDPServer

BaseServer --+    
             |    
     TCPServer --+
                 |
                UDPServer

Known Subclasses:
UDPServer

UDP server class.
Method Summary
  close_request(self, request)
Called to clean up an individual request.
  get_request(self)
Get the request and client address from the socket.
  server_activate(self)
Called by constructor to activate the server.
    Inherited from TCPServer
  __init__(self, server_address, RequestHandlerClass)
Constructor.
  fileno(self)
Return socket file number.
  server_bind(self)
Called by constructor to bind the socket.
  server_close(self)
Called to clean-up the server.
    Inherited from BaseServer
  finish_request(self, request, client_address)
Finish one request by instantiating RequestHandlerClass.
  handle_error(self, request, client_address)
Handle an error gracefully.
  handle_request(self)
Handle one request, possibly blocking.
  process_request(self, request, client_address)
Call finish_request.
  serve_forever(self)
Handle one request at a time until doomsday.
  verify_request(self, request, client_address)
Verify the request.

Class Variable Summary
bool allow_reuse_address = False
int max_packet_size = 8192                                                                  
int socket_type = 2                                                                     
    Inherited from TCPServer
int address_family = 2                                                                     
int request_queue_size = 5                                                                     

Method Details

close_request(self, request)

Called to clean up an individual request.
Overrides:
SocketServer.TCPServer.close_request (inherited documentation)

get_request(self)

Get the request and client address from the socket.

May be overridden.
Overrides:
SocketServer.TCPServer.get_request (inherited documentation)

server_activate(self)

Called by constructor to activate the server.

May be overridden.
Overrides:
SocketServer.TCPServer.server_activate (inherited documentation)

Class Variable Details

allow_reuse_address

Type:
bool
Value:
False                                                                  

max_packet_size

Type:
int
Value:
8192                                                                  

socket_type

Type:
int
Value:
2                                                                     

Generated by Epydoc 2.1 on Mon Aug 02 01:07:41 2004 http://epydoc.sf.net