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.
|
|
__init__
|
__init__ ( self, handle=None )
Constructs an instance.
Activates the gass copy module, and then creates the underlying
gass copy attr handle.
Arguments:
Raises:
A AttrException is thrown if unable to initialize the module
or create the handle.
|
|
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:
Raises:
A AttrException is thrown if unable to set the ftp attr.
|
|
set_gass_transfer
|
set_gass_transfer ( self, transferReqAttr )
Sets the http/https specific attributes.
Arguments:
Raises:
A AttrException is thrown if unable to set the gass
transfer attr.
|
|
set_io
|
set_io ( self, ioAttr )
Sets the file specific attributes.
Sets the attributes for a file transfer.
Arguements:
Raises:
A AttrException is thrown if unable to set the io attr.
|