Home | Trees | Index | Help |
|
---|
Package AccessGrid :: Module DataStore :: Class HTTPTransferServer |
|
BaseServer
--+ |TCPServer
--+ |HTTPServer
--+ |TransferServer
--+ | HTTPTransferServer
A HTTPTransferServer is a HTTP-based implementation of a TransferServer.
Note that most of the work is done in HTTPTransferHandler.Method Summary | |
---|---|
__init__(self,
address)
| |
Return the download descriptor for this transfer server. | |
Create an identity token for this HTTP-based transfer. | |
Return the upload descriptor for this transfer server. | |
run(self)
| |
stop(self)
| |
thread_run is the server thread's main function. | |
Inherited from HTTPServer | |
Override server_bind to store the server name. | |
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 to clean-up the server. | |
Inherited from TransferServer | |
| |
Look up the information for transfer_key and file_num in the manifest. | |
A client has sent a POST to /<prefix>/manifest to initiate an upload. | |
|
Class Variable Summary | |
---|---|
Inherited from HTTPServer | |
int |
allow_reuse_address = 1 |
Inherited from TCPServer | |
int |
address_family = 2 |
int |
request_queue_size = 5 |
int |
socket_type = 1 |
Method Details |
---|
GetDownloadDescriptor(self, prefix, path)Return the download descriptor for this transfer server. Must be implemented by the protocol-specific subclass.
|
GetIdentityToken(self, transferHandler)Create an identity token for this HTTP-based transfer. The token will contain the X-Client-DN header if there is one. |
GetUploadDescriptor(self, prefix)Return the upload descriptor for this transfer server. Must be implemented by the protocol-specific subclass.
|
thread_run(self)thread_run is the server thread's main function. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Apr 14 16:39:29 2005 | http://epydoc.sf.net |