Package pyGlobus :: Module gassCopy :: Class HandleAttr
[show private | hide private]
[frames | no frames]

Class HandleAttr


A class to wrap the gass copy handle attr functions.

It provides get and set methods for all of the various handle specific attributes.
Method Summary
  __init__(self, handle)
Constructs an instance.
  __del__(self)
Destroy an instance.
  get_handle(self)
Return the underlying gass copy handle attr handle.
  set_ftp(self, ftpAttr)
Sets the ftp specific attributes.

Method Details

__init__(self, handle=None)
(Constructor)

Constructs an instance.

Activates the gass copy module, and then creates the underlying gass copy handle attr handle.
Parameters:
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:
HandleAttrException - A HandleAttrException is thrown if unable to initialize the module or create the handle.

__del__(self)
(Destructor)

Destroy an instance.

It destroys the handle, and then deactivates the module.
Raises:
HandleAttrException - A HandleAttrException is thrown if unable to deactivate the module.

get_handle(self)

Return the underlying gass copy handle attr handle.
Returns:
A string containing the pointer.

Warning: This handle is only valid as long as this object exists. When

set_ftp(self, ftpAttr)

Sets the ftp specific attributes.
Parameters:
ftpAttr - A FtpClientHandleAttr object with the proper attributes set.
Raises:
HandleAttrException - A HandleAttrException is thrown if unable to set the ftp attr.

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