Package pyGlobus :: Module ftpControl :: Class Response
[show private | hide private]
[frames | no frames]

Class Response


Proxy class for the globus_ftp_control_response_t object
Method Summary
  __init__(self, handle)
The handle is given to you in a callback, it can't be initialized any other way
  __del__(self)
frees the memory associated with the handle The memory associated with the handle is freed by globus
  copy(self)
Return a Response object which is a copy of the response
  info(self)
Returns a dictionary of information given in the response

Method Details

__init__(self, handle)
(Constructor)

The handle is given to you in a callback, it can't be initialized any other way

__del__(self)
(Destructor)

frees the memory associated with the handle The memory associated with the handle is freed by globus

copy(self)

Returns:
A Response object which is a copy of the response
Raises:
ResponseException - A ResponseException is raised if there is a problem making a copy of the response

info(self)

Returns a dictionary of information given in the response
Returns:

A dictionary with 2 keys: 'code' which maps to the return code 'respose' which maps to a response string

If the response handle is NULL then an empty dictionary is returned

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