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

Class GSITCPSocketServer

BaseServer --+    
             |    
  GSITCPServer --+
                 |
                GSITCPSocketServer

Known Subclasses:
ForkingGSITCPSocketServer, SOAPServer, ThreadingGSITCPSocketServer

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. Note: Be sure to use different ports for both!
Method Summary
  __init__(self, addr, RequestHandlerClass, channel_mode, delegation_mode, tcpAttr)
    Inherited from GSITCPServer
  close_request(self, request)
Called to clean up an individual request.
  fileno(self)
Return socket file number.
  get_delegated_credential(self)
Accessor for the server's delgated credentials.
  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.
  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
    Inherited from GSITCPServer
int address_family = 2                                                                     
int allow_reuse_address = 0                                                                     
int request_queue_size = 5                                                                     
int socket_type = 1                                                                     

Generated by Epydoc 2.1 on Tue Apr 4 14:32:56 2006 http://epydoc.sf.net