Package pyGlobus :: Module gassTransfer :: Class TransferRequest
[show private | hide private]
[frames | no frames]

Class TransferRequest


Proxy class that wraps the request handle for clients and server handle is the request handle pointer isClient is true if it is a client-side handle
Method Summary
  __init__(self, handle, isClient)
  __del__(self)
frees the memory associated with the request handle
  get_denial_message(self)
Returns the protocol specific denial reason which explains why the request was denied.
  get_denial_reason(self)
Returns the protocol specific denial reason which explains why the request was denied.
  get_handle(self)
  get_length(self)
Returns the amount of data that will be transfered to copy the URL.
  get_request_type(self)
Returns a string the request type of the Request handle
  get_status(self)
Return the status of the request handle
  get_subject(self)
Returns the subject associated with the request.
  get_url(self)
Returns the url associated with the request
  set_length(self, length)
Sets the amount of data that will be transfered to copy the URL.
  set_subject(self, subject)
Sets the subject that will be associated with the request.

Method Details

__del__(self)
(Destructor)

frees the memory associated with the request handle

get_denial_message(self)

Returns the protocol specific denial reason which explains why the request was denied. It returns a string.

get_denial_reason(self)

Returns the protocol specific denial reason which explains why the request was denied. It returns an int.

get_length(self)

Returns the amount of data that will be transfered to copy the URL. If the length is 0, then the length is unknown.

get_request_type(self)

Returns a string the request type of the Request handle

get_status(self)

Return the status of the request handle

get_subject(self)

Returns the subject associated with the request. The subject is a string commonly a DN.

get_url(self)

Returns the url associated with the request

set_length(self, length=0)

Sets the amount of data that will be transfered to copy the URL. If the length is 0, then the length is unknown.

set_subject(self, subject)

Sets the subject that will be associated with the request.
Parameters:
subject - a string, commonly the DN of the end entity.
Raises:
TransferException - A TransferException is raised if the request is in a state where the subject should not be set.

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