Package pyGlobus :: Module ftpControl :: Class FtpControlServer
[show private | hide private]
[frames | no frames]

Class FtpControlServer


Method Summary
  __init__(self, handle)
  __del__(self)
  accept(self, handle, callback, arg)
  authenticate(self, handle, auth_req, callback, arg)
Authenticate a client connection.
  free_callback(self, callbackHandle)
Frees the memory associated with the callback handle
  get_handle(self)
  listen(self, port, callback, arg)
  stop(self, callback, arg)

Method Details

authenticate(self, handle, auth_req, callback, arg)

Authenticate a client connection.

This function is called to authenticate a connection from a client.

After a client connection has been accepted (using the globus_ftp_control_server_accept call), this function should be called to authenticate the client. The caller of this function may specify certain authentication requirements using the auth_requirements parameter.
Parameters:
handle - - a FtpControl object that has already been used in the accept call
auth_req - - an int specifying the authentication required

free_callback(self, callbackHandle)

Frees the memory associated with the callback handle
Parameters:
callbackHandle - - a SWIG'ized pointer to a callback handle
Returns:

None

None

Generated by Epydoc 2.0 on Thu Oct 28 17:14:25 2004 http://epydoc.sf.net