Package pyGlobus :: Module gassServerEZ :: Class GassServerEZ
[show private | hide private]
[frames | no frames]

Class GassServerEZ


Proxy class to the GassServerEZ interfacee
Method Summary
  __init__(self, opts, listenAttr, requestAttr)
Constructs an instance.
  __del__(self)
Destroys an instance.
  getURL(self)
Returns the url the server is listening on.
  server_shutdown(self)
Shutdown the server.

Method Details

__init__(self, opts, listenAttr=None, requestAttr=None)
(Constructor)

Constructs an instance.

Activates the underlying module and constructs a server with the given options.
Parameters:
opts - The bitwise or of the module options defined above.
listenAttr - A gassTransfer.ListenerAttr object.
requestAttr - A gassTransfer.TransferReqAttr object.
Raises:
GassServerEZExceptions - A GassServerEZException is thrown if unable to initialize the module or start the server.

__del__(self)
(Destructor)

Destroys an instance.

Shuts down the server and deactivates the underlying module.
Raises:
GassServerEZException - A GassServerEZException is thrown if unable to stop the server or deactivate the module.

getURL(self)

Returns the url the server is listening on.
Returns:
A string containing the url the server is listening on.

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:
GassServerEZException - A GassServerEZException is thrown if unable to shutdown the server.

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