Table of Contents

Class: Attr ./pyGlobus/gassCopy.py

A class to wrap the gass copy attr functions.

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

Methods   
__del__
__init__
get_handle
set_ftp
set_gass_transfer
set_io
  __del__ 
__del__ ( self )

Destroy an instance.

It destroys the handle, and then deactivates the module.

Raises:

A AttrException 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 attr handle.

Arguments:

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

Raises:

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

Exceptions   
ex
  get_handle 
get_handle ( self )

Return the underlying gass copy 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 FtpClientOperationAttr object with the proper attributes set.

Raises:

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

Exceptions   
ex
  set_gass_transfer 
set_gass_transfer ( self,  transferReqAttr )

Sets the http/https specific attributes.

Arguments:

  • transferReqAttr A TransferReqAttr object with the proper attributes set.

Raises:

A AttrException is thrown if unable to set the gass transfer attr.

Exceptions   
ex
  set_io 
set_io ( self,  ioAttr )

Sets the file specific attributes.

Sets the attributes for a file transfer.

Arguements:

  • ioAttr A FileIOAttr with the proper attributes set.

Raises:

A AttrException is thrown if unable to set the io attr.

Exceptions   
ex

Table of Contents

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