Table of Contents

Class: NetloggerPlugin ./pyGlobus/ftpClient.py

A wrapper class around the netlogger plugin.

Base Classes   
Plugin
Methods   
__del__
__init__
  __del__ 
__del__ ( self )

Destroy an instance of the netlogger 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   
PluginException( "unable to deactivate the module" )
PluginException( err )
  __init__ 
__init__ (
        self,
        nl_url,
        prog_name,
        opaque_string=None,
        )

Initialize an instance of the netlogger plugin.

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

Arguments

nl_url the url to log to. (May be None) Valid urls are: file://tmp/netlog.log x-netlog://host[:port] x-syslog://localhost prog_name This is used as the prog name in the NetLoggerOpen call

opaque_string this is an opaque string that will be inserted into all logged statements. (may be None)

Raises

A PluginException is thrown if unable to init the plugin.

Exceptions   
PluginException( "Unable to activate the module" )
PluginException( handle )

Table of Contents

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