Package pyGlobus :: Module io :: Class GSITCPSocketServer
[show private | hide private]
[frames | no frames]

Class GSITCPSocketServer

BaseServer --+    
             |    
  GSITCPServer --+
                 |
                GSITCPSocketServer

Known Subclasses:
GSIHTTPTransferServer

Derives from the base GSITCPServer class. Allows applications using the default SocketServer class to use the GSI context supplied by Globus instead. If the application needs to connect both secure and non-secure connections, a seperate instance of GSITCPSocketServer can be created and run alongside the unsecure SocketServer. *Be sure to use different ports for both!*
Method Summary
  __init__(self, addr, RequestHandlerClass, channel_mode, delegation_mode, tcpAttr)
  server_close(self)
Called to clean-up the server.
    Inherited from GSITCPServer
  close_request(self, request)
Called to clean up an individual request.
  fileno(self)
Return socket file number.
  get_delegated_credential(self)
  get_request(self)
Get the request and client address from the socket.
  server_activate(self)
Called by constructor to activate the server.
  server_bind(self)
Called by constructor to bind the socket.
    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
    Inherited from GSITCPServer
int address_family = 2                                                                     
int allow_reuse_address = 0                                                                     
int request_queue_size = 5                                                                     
int socket_type = 1                                                                     

Method Details

server_close(self)

Called to clean-up the server.

May be overridden.
Overrides:
pyGlobus.io.GSITCPServer.server_close (inherited documentation)

Generated by Epydoc 2.1 on Thu Apr 14 16:39:28 2005 http://epydoc.sf.net