Package pyGlobus :: Module util
[show private | hide private]
[frames | no frames]

Module pyGlobus.util

A module containing utility functions, e.g. buffers, module activation, etc.
Classes
Abstime A wrapper class for the globus_abstime_t type Handles the memory and allows some access to the underlying timeval struct
Buffer A wrapper class for globus_byte_t arrays.
Callback  
CallbackData  
CallbackDefault  
CallbackQueue Class that contains a queue of callbackStruct SWIG'ized pointers
Functor Helper class for pyGlobusFactory, reponsible for the calling of the registered function
GlobusXIODebug  
Off_t A wrapper class for globus_off_t pointers
PyGlobusFactory Generic factory class that registers a function, and default arguments to that function.

Exceptions
CallbackQueueException A simple subclass of GlobusException.
GlobusBufferException A simple subclass of GlobusException.
GlobusException A simple exception class.
GlobusXIODebugParseError  

Function Summary
  getEnv(variable)
Calls globus_libc_getenv, this is useful if you are using win32, otherwise you can use the os module to access your environment
  getHostname()
Return the local hostname.
  setEnv(variable, value)
Calls globus_libc_setenv, this is useful if you are using win32, otherwise you can use the os module to modify your environment
  unSetEnv(variable)
Calls globus_libc_unsetenv, this is useful if you are using win32, otherwise you can use the os module to modify your environment

Function Details

getEnv(variable)

Calls globus_libc_getenv, this is useful if you are using win32, otherwise you can use the os module to access your environment
Parameters:
variable - the variable who's value you want to retrieve from your environment
Returns:

returns a string of the value of the variable, or None if the variable is not in your environment

Nothing

getHostname()

Return the local hostname. This uses the pyGlobus mechanism when possible, in order to get a hostname that Globus will be happy with.

setEnv(variable, value)

Calls globus_libc_setenv, this is useful if you are using win32, otherwise you can use the os module to modify your environment
Parameters:
variable - the variable who's value you want to modify
value - the value you want to set the variable to
Returns:

None

Nothing

unSetEnv(variable)

Calls globus_libc_unsetenv, this is useful if you are using win32, otherwise you can use the os module to modify your environment
Parameters:
variable - the variable who's value you want to unset
Returns:

None

Nothing

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