| Trees | Index | Help |
|
|---|
| Module spiroserver :: Class SpiroServer |
|
BaseServer--+ |TCPServer--+ |ThreadingMixIn--+ |ThreadingTCPServer--+ | SpiroServer
Server side of SPIRO
When each client connection arrives, this creates an instance of SpiroSession and dispatches it to run the session.| Method Summary | |
|---|---|
Create the SPIRO server object | |
Finish one request by instantiating RequestHandlerClass. | |
Run the SPIRO server. | |
| Inherited from ThreadingMixIn | |
Start a new thread to process the request. | |
Same as in BaseServer but as a thread. | |
| Inherited from TCPServer | |
Called to clean up an individual request. | |
Return socket file number. | |
Get the request and client address from the socket. | |
Called by constructor to activate the server. | |
Called by constructor to bind the socket. | |
Called to clean-up the server. | |
| Class Variable Summary | |
|---|---|
str |
host = '127.0.0.1'
|
list |
importslist = []
|
int |
port = 9091 |
| Inherited from ThreadingMixIn | |
bool |
daemon_threads = False
|
| Inherited from TCPServer | |
int |
address_family = 2 |
bool |
allow_reuse_address = False
|
int |
request_queue_size = 5 |
int |
socket_type = 1 |
| Method Details |
|---|
__init__(self,
**kw)
|
finish_request(self, request, client_address)Finish one request by instantiating RequestHandlerClass.
|
run(self)Run the SPIRO server. when connections come in, they are automatically accepted, and aSpiroReqHandler object created, and its
handle method invoked.
|
| Class Variable Details |
|---|
host
|
importslist
|
port
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Sun Apr 11 13:37:10 2004 | http://epydoc.sf.net |