Package pyGlobus :: Module gassTransfer :: Class TransferListener
[show private | hide private]
[frames | no frames]

Class TransferListener


Proxy class that wraps the listener handle for servers handle is the listerner handle pointer The TransServer class provides an higher level interface than this.
Method Summary
  __init__(self, attr, scheme)
  __del__(self)
frees the request handles memory
  close_listener(self, callback, arg)
Callbacks for any outstanding register_accepts are called before the listener is closed
  get_base_url(self)
Gets the base url that the listener is listening on Returns a string of that url
  get_handle(self)

Method Details

__init__(self, attr=None, scheme='http')
(Constructor)

Parameters:
attr - is a ListenerAttr object
scheme - is a string of the protocol that will be used, ie http

__del__(self)
(Destructor)

frees the request handles memory
Raises:
TransferException - A TransferException is raised if there is a problem freeing the memory

close_listener(self, callback, arg)

Callbacks for any outstanding register_accepts are called before the listener is closed
Parameters:
callback - function that is called when the listener is closed
arg - user supplied argument to the callback function
Raises:
TransferListenerException - A TransferListenerException if the listener cannot be closed

get_base_url(self)

Gets the base url that the listener is listening on Returns a string of that url

Generated by Epydoc 2.1 on Tue Apr 4 14:32:57 2006 http://epydoc.sf.net