Methods
|
|
__del__
__init__
append
get
put
register_append
register_get
register_put
|
|
__del__
|
__del__ ( self )
|
|
__init__
|
__init__ ( self )
|
|
append
|
append (
self,
attr,
url,
length=0,
)
Arguments:
- attr is a RequestAttr object
length is the length of the file that you wish to append
The default 0, will do the put with the length arguement GLOBUS_GASS_TRANSFER_LENGTH_UNKNOWN
url is the url that is the file that you want to append to
An example of a url could be http://huey.lbl.gov:3730/etc/group
callback is a function that will be called back after the request to get has been authorized, denied or refered
arg is a user arguement to the callback function
This function is blocking
Returns
ret is the return value from the underlying globus call if ret == 0 then the call was successful in
the globus sense
cbHandle is a SWIG'ized pointer to the callback structure, if the call was successful, otherwise it is an
error message
request is a SWIG'ized pointer to the underlying request handle. The request handle is a client side request handle
Raises
TransferException is raised if the register_append cannot be made
|
|
get
|
get (
self,
attr,
url,
)
Arguments:
- attr is a RequestAttr object url is the url that is the file that you want to get
An example of a url could be http://huey.lbl.gov:3730/etc/group
This function is blocking
Returns
ret is the return value from the underlying globus call if ret == 0 then the call was successful in
the globus sense
request is a SWIG'ized pointer to the underlying request handle. The request handle is a client side request handle
if ret != 0 then request is an error string and is printed out
Raises
TransferException is raised if the get cannot be made
|
|
put
|
put (
self,
attr,
url,
length=0,
)
Arguments:
- attr is a RequestAttr object url is the url that is the file that you want to put
An example of a url could be http://huey.lbl.gov:3730/etc/group
length is the length of the file that you wish to put
The default 0, will do the put with the length arguement GLOBUS_GASS_TRANSFER_LENGTH_UNKNOWN
This function is blocking
Returns
ret is the return value from the underlying globus call if ret == 0 then the call was successful in
the globus sense
request is a SWIG'ized pointer to the underlying request handle. The request handle is a client side request handle
Raises
TransferException is raised if the put cannot be made
|
|
register_append
|
register_append (
self,
attr,
url,
callback,
arg,
length=0,
)
Arguments:
- attr is a RequestAttr object url is the url that is the file that you want to append to
An example of a url could be http://huey.lbl.gov:3730/etc/group
callback is a function that will be called back after the request to get has been authorized, denied or refered
arg is a user arguement to the callback function
length is the length of the file that you wish to append
The default 0, will do the put with the length arguement GLOBUS_GASS_TRANSFER_LENGTH_UNKNOWN
This function is non-blocking
Returns
ret is the return value from the underlying globus call if ret == 0 then the call was successful in
the globus sense
cbHandle is a SWIG'ized pointer to the callback structure, if the call was successful, otherwise it is an
error message
request is a SWIG'ized pointer to the underlying request handle. The request handle is a client side request handle
Raises
TransferException is raised if the register_append cannot be made
|
|
register_get
|
register_get (
self,
attr,
url,
callback,
arg,
)
Arguments:
- attr is a RequestAttr object url is the url that is the file that you want to get
An example of a url could be http://huey.lbl.gov:3730/etc/group
callback is a function that will be called back after the request to get has been authorized, denied or refered
arg is a user arguement to the callback function
This function is non-blocking
Returns
ret is the return value from the underlying globus call if ret == 0 then the call was successful in
the globus sense
cbHandle is a SWIG'ized pointer to the callback structure, if the call was successful, otherwise it is an
error message
request is a SWIG'ized pointer to the underlying request handle. The request handle is a client side request handle
Raises
TransferException is raised if the register_get cannot be made
|
|
register_put
|
register_put (
self,
attr,
url,
callback,
arg,
length=0,
)
Arguments:
- attr is a RequestAttr object url is the url that is the file that you want to put
An example of a url could be http://huey.lbl.gov:3730/etc/group
length is the length of the file that you wish to put
The default 0, will do the put with the length arguement GLOBUS_GASS_TRANSFER_LENGTH_UNKNOWN
This function is blocking
callback is a function that will be called back after the request to get has been authorized, denied or refered
arg is a user arguement to the callback function
This function is non-blocking
Returns
ret is the return value from the underlying globus call if ret == 0 then the call was successful in
the globus sense
cbHandle is a SWIG'ized pointer to the callback structure, if the call was successful, otherwise it is an
error message
request is a SWIG'ized pointer to the underlying request handle. The request handle is a client side request handle
Raises
TransferException is raised if the register_put cannot be made
|
|