Table of Contents

Class: TransListener ./pyGlobus/gassTransfer.py

Simple class that wraps the listener handle for servers handle is the listerner handle pointer

The TransServer class provides an higher level interface than this.

Methods   
__del__
__init__
close_listener
get_base_url
get_handle
  __del__ 
__del__ ( self )

frees the request handles memory

Raises A TransferException is raised if there is a problem freeing the memory

Exceptions   
ex
  __init__ 
__init__ (
        self,
        attr=None,
        scheme="http",
        )

Arguments

attr is a ListenerAttr object

scheme is a string denoting the scheme used for file transfer eg.: http

Exceptions   
ex
  close_listener 
close_listener (
        self,
        callback,
        arg,
        )

Callbacks for any outstanding register_accepts are called before the listener is closed Arguements

  • callback function that is called when the listener is closed

  • arg user supplied arguement to the callback function

Throws TransferListenerException if the listener cannot be closed

Exceptions   
ex
  get_base_url 
get_base_url ( self )

Gets the base url that the listener is listening on

Returns a string of that url

  get_handle 
get_handle ( self )


Table of Contents

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