Package delivery :: Module client
[show private | hide private]
[frames | no frames]

Module delivery.client

Interface to the BBftp client.

Author: Stephen Pascoe

Copyright: Copyright (C) 2006 CCLRC & NERC

License: This software may be distributed under the terms of the Q Public Licence, version 1.0 or later.

Classes
AuthClientHandler Abstract base class specifying the client authentication callback interface.

Function Summary
  close()
Close the connection.
  connect(authClientHandler, args)
Connect to the bbftp server.
  docommand(cmd)
Execute a BBFtp command.
  isConnected()
Returns a bool indicating whether we are connected to a server.

Function Details

close()

Close the connection.

connect(authClientHandler, args)

Connect to the bbftp server.
Parameters:
authClientHandler - an instance of AuthClientHandler
args - a list of command line arguments passed to the client code.
Returns:
a list of bbftp client output messages.

docommand(cmd)

Execute a BBFtp command.
Parameters:
cmd - a string containing the command.
Returns:
a list of BBFtp client messages in response.

isConnected()

Returns a bool indicating whether we are connected to a server.

Generated by Epydoc 2.1 on Thu Jul 6 15:44:02 2006 http://epydoc.sf.net