Table of Contents

Class: GassServerEZ ./pyGlobus/gassServerEZ.py
Methods   
__del__
__init__
getURL
server_shutdown
  __del__ 
__del__ ( self )

Destroys an instance.

Shuts down the server and deactivates the underlying module.

Raises:

A GassServerEZException is thrown if unable to stop the server or deactivate the module.

Exceptions   
ex
  __init__ 
__init__ (
        self,
        opts,
        listenAttr=None,
        requestAttr=None,
        )

Constructs an instance.

Activates the underlying module and constructs a server with the given options.

Arguments:

  • opts The bitwise or of the module options defined above.

  • listenAttr A gassTransfer.ListenerAttr object.

  • requestAttr A gassTransfer.TransferReqAttr object.

Raises:

A GassServerEZExceptions is thrown if unable to initialize the module or start the server.

Exceptions   
ex
  getURL 
getURL ( self )

Returns the url the server is listening on.

Returns:

A string containing the url the server is listening on.

  server_shutdown 
server_shutdown ( self )

Shutdown the server.

This may be called to stop the server from listen and free the underlying socket. If not the destructor will free the socket.

Raises:

A GassServerEZException is thrown if unable to shutdown the server.

Exceptions   
ex

Table of Contents

This document was automatically generated on Tue Feb 4 16:47:03 2003 by HappyDoc version 2.1