Method Summary |
|
__init__ (self)
Perform connection using the opened socket |reqsocket| |
|
__del__(self)
|
|
close (self)
Close the server |
|
get_request (self,
peerconn)
Read the request and return it as a Request object instance |
|
send_data (self,
data,
peerconn)
Common code between send_result and send_error |
|
send_error (self,
errormsg,
peerconn,
code)
Send an error (errormsg is an error string) |
|
send_result (self,
msg,
peerconn)
Encode and send the message (msg is a Response object) |
Inherited from TransportProtocolMixIn |
|
_choose_format (self,
format,
request)
|
|
_load_request (self,
x)
|
|
_load_result (self,
x)
|