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

Module pyGlobus.gassCopy

Provides an interface to the gass copy module.
Classes
Attr A class to wrap the gass copy attr functions.
GassCopy Provides a simple interface to protocol independent file transfers.
HandleAttr A class to wrap the gass copy handle attr functions.

Exceptions
AttrException A simple subclass of GlobusException.
GassCopyException A simple subclass of GlobusException.
HandleAttrException A simple subclass of GlobusException.

Function Summary
  get_url_mode(url)
Returns the mode of a url.

Variable Summary
int FTP_MODE = 1                                                                     
int GASS_MODE = 2                                                                     
int IO_MODE = 3                                                                     
int STATUS_CANCEL = 8                                                                     
int STATUS_DONE = 7                                                                     
int STATUS_FAILURE = -1                                                                    
int STATUS_INITIAL = 2                                                                     
int STATUS_NONE = 0                                                                     
int STATUS_PENDING = 1                                                                     
int STATUS_READ_COMPLETE = 5                                                                     
int STATUS_SOURCE_READY = 3                                                                     
int STATUS_TRANSFER_IN_PROGRESS = 4                                                                     
int STATUS_WRITE_COMPLETE = 6                                                                     
int UNSUPPORTED_MODE = 0                                                                     

Function Details

get_url_mode(url)

Returns the mode of a url.

Given a URL returns the mode as one of the module constants defined above.
Parameters:
url - The url to return the mode of.
Returns:
The mode. The possible modes are defined above in the module constants.
Raises:
GassCopyException - AGassCopyException is thrown if an error occurs while returning the mode.

Variable Details

FTP_MODE

Type:
int
Value:
1                                                                     

GASS_MODE

Type:
int
Value:
2                                                                     

IO_MODE

Type:
int
Value:
3                                                                     

STATUS_CANCEL

Type:
int
Value:
8                                                                     

STATUS_DONE

Type:
int
Value:
7                                                                     

STATUS_FAILURE

Type:
int
Value:
-1                                                                    

STATUS_INITIAL

Type:
int
Value:
2                                                                     

STATUS_NONE

Type:
int
Value:
0                                                                     

STATUS_PENDING

Type:
int
Value:
1                                                                     

STATUS_READ_COMPLETE

Type:
int
Value:
5                                                                     

STATUS_SOURCE_READY

Type:
int
Value:
3                                                                     

STATUS_TRANSFER_IN_PROGRESS

Type:
int
Value:
4                                                                     

STATUS_WRITE_COMPLETE

Type:
int
Value:
6                                                                     

UNSUPPORTED_MODE

Type:
int
Value:
0                                                                     

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