Table of Contents

Class: HandleAttr ./pyGlobus/gassCopy.py

A class to wrap the gass copy handle attr functions.

It provides get and set methods for all of the various handle specific attributes.

Methods   
__del__
__init__
get_handle
set_ftp
  __del__ 
__del__ ( self )

Destroy an instance.

It destroys the handle, and then deactivates the module.

Raises:

A HandleAttrException is thrown if unable to deactivate the module.

Exceptions   
ex
  __init__ 
__init__ ( self,  handle=None )

Constructs an instance.

Activates the gass copy module, and then creates the underlying gass copy handle attr handle.

Arguments:

  • handle An optional argument that if present will be used as the gass copy handle attr handle. The class then owns the handle, and will delete it at destruction.

Raises:

A HandleAttrException is thrown if unable to initialize the module or create the handle.

Exceptions   
ex
  get_handle 
get_handle ( self )

Return the underlying gass copy handle attr handle.

XXX This handle is only valid as long as this object exists. When the object is destroyed, the memory this handle points to is freed.

Returns:

A string containing the pointer.

  set_ftp 
set_ftp ( self,  ftpAttr )

Sets the ftp specific attributes.

Arguments:

  • ftpAttr A FtpClientHandleAttr object with the proper attributes set.

Raises:

A HandleAttrException is thrown if unable to set the ftp attr.

Exceptions   
ex

Table of Contents

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