Module gridftpClient :: Class Parallelism
[hide private]
[frames] | no frames]

Class Parallelism

source code

object --+
         |
        Parallelism

A wrapping of the Globus GridFTP API globus_ftp_control_parallelism_t.

Instance Methods [hide private]
instance
__init__(self)
Constructs an instance.
source code
None
__del__(self)
Destroy an instance.
source code
None
set_mode_fixed(self)
Sets the mode of parallelism to "fixed" or GLOBUS_FTP_CONTROL_PARALLELISM_FIXED, which is currently the only mode supported.
source code
None
set_size(self, size)
Sets the number of parallel data connections to be used.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Constructs an instance. A wrapped pointer to the Globus C type that is created is stored as the ._parallelism attribute to the instance.

Returns: instance
an instance of the class
Raises:
Overrides: object.__init__

__del__(self)
(Destructor)

source code 

Destroy an instance. The wrapped pointer to the Globus C type is used by globus_free() to free all the memory associated with the Globus C type.

Returns: None
None
Raises:

set_mode_fixed(self)

source code 

Sets the mode of parallelism to "fixed" or GLOBUS_FTP_CONTROL_PARALLELISM_FIXED, which is currently the only mode supported.

Returns: None
None
Raises:

set_size(self, size)

source code 

Sets the number of parallel data connections to be used.

Parameters:
  • size (integer) - the number of parallel data connections
Returns: None
None
Raises: