Home | Trees | Index | Help |
---|
Package pyGlobus :: Module gassCopy :: Class GassCopy |
|
Provides a simple interface to protocol independent file transfers.
Wraps the globus gass copy module. Supports http, https, ftp, and gsiftp based transfers.Method Summary | |
---|---|
Constructs an instance. | |
Destroy an instance. | |
Cache a connection to a server. | |
Transfer data from a io handle to a URL. | |
Transfer data from a source URL to a io handle. | |
Transfer data from source url to destination url. | |
Remove a cached connection. | |
Free the callbacks resources. | |
Return the underlying gass copy handle. | |
Return the current status. | |
Transfer data from a io handle to a URL. | |
Transfer data from a source URL to a io handle. | |
Transfer data from source url to destination url. |
Method Details |
---|
__init__(self,
handleAttr,
handle=None)
|
__del__(self)
|
cache_url_state(self, url)Cache a connection to a server. When an URL is cached, the connection to the server will not be closed after a file transfer completes.
|
copy_handle_to_url(self, srcHandle, destUrl, destAttr)Transfer data from a io handle to a URL. Currently the only types of handles implemented are file io handles. This method blocks until the transfer is complete.
|
copy_url_to_handle(self, srcUrl, srcAttr, destHandle)Transfer data from a source URL to a io handle. Currently the only types of handles implemented are file io handles. This method blocks until the transfer is complete.
|
copy_url_to_url(self, srcUrl, srcAttr, destUrl, destAttr)Transfer data from source url to destination url. The url's may be http, https, ftp, and gsiftp. This method blocks until the transfer is complete.
|
flush_url_state(self, url)Remove a cached connection. If an idle connection to an FTP server exists, it will be closed.
|
free_callback(self, cbHandle)Free the callbacks resources. Free's the memory allocated to hold the callback structure.
|
get_handle(self)Return the underlying gass copy handle.
|
get_status(self)Return the current status. Returns a status code describing the state of the current transfer.
|
register_copy_handle_to_url(self, srcHandle, destUrl, destAttr, callback, arg)Transfer data from a io handle to a URL. Asynchronously transfers the data. Currently the only types of handles implemented are file io handles.
|
register_copy_url_to_handle(self, srcUrl, srcAttr, destHandle, callback, arg)Transfer data from a source URL to a io handle. Currently the only types of handles implemented are file io handles. This method blocks until the transfer is complete.
|
register_copy_url_to_url(self, srcUrl, srcAttr, destUrl, destAttr, callback, arg)Transfer data from source url to destination url. Asynchronously transfer data between two url's.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Tue Apr 4 14:32:55 2006 | http://epydoc.sf.net |