A wrapper class around the ftp client debug plugin.
The FTP Debugging plugin provides a way for the user to trace FTP
protocol messages which occur while the GridFTP client library processes
an FTP operation. This may be useful for debugging FTP configuration problems.
When this plugin is used for a GridFTP Client operation, information will be printed t
o the file stream associated with the plugin when a user begins an operation, for all
data buffers which pass through while handling a data transfer, and for all protocol
messages which are sent and received.
Methods
|
|
__del__
__init__
|
|
__del__
|
__del__ ( self )
Destroy an instance of the GridFTP debugging 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.
|
|
__init__
|
__init__ (
self,
file,
text,
)
Initialize an instance of the GridFTP debugging plugin.
This function will initialize the debugging plugin-specific instance data for this
plugin, and will make the plugin usable for ftp client handle attribute and
handle creation.
Arguments
file An open Python file object to write the debug messages to.
text A string message to append to the debug info.
Raises
A PluginException is thrown if unable to init the plugin.
|
|