Table of Contents

Class: RestartMarkerPlugin ./pyGlobus/ftpClient.py

A wrapper class around the ftp client restart marker plugin.

This plugin is intended to allow users to make restart markers persistant. During a transfer, every marker received will result in the user's marker callback being called with the new restart marker that can be stored. If the application were to prematurely terminate (while transferring), the user (after restarting the application) could pass this stored marker back to the plugin via the begin callback to force the transfer to be restarted from the last marked point.

Base Classes   
Plugin
Methods   
__del__
__init__
  __del__ 
__del__ ( self )

Destroy an instance of the GridFTP restart marker plugin.

This function will free all debugging plugin-specific instance data from this plugin, and will make the plugin unusable for further ftp handle creation.

Existing FTP client handles and handle attributes will not be affected by destroying a plugin associated with them, as a local copy of the plugin is made upon handle initialization.

Raises

A PluginException is thrown if unable to destroy the plugin.

Exceptions   
ex
  __init__ 
__init__ (
        self,
        beginCB,
        markerCB,
        completeCB,
        arg,
        )

Initialize an instance of the GridFTP restart marker plugin.

This function will initialize the resart marker plugin-specific instance data for this plugin, and will make the plugin usable for ftp client handle attribute and handle creation.

Arguments

beginCB The callback to be called upon the start of the transfer..

markerCB The callback to be called with each restart marker received.

completeCB The callback to be called to indicate transfer completion.

arg An arbitary argument to be passed to all the callbacks.

Raises

A PluginException is thrown if unable to init the plugin.

Exceptions   
ex

Table of Contents

This document was automatically generated on Tue Feb 4 16:47:03 2003 by HappyDoc version 2.1