Package pyGlobus :: Module xio :: Class XioAttr
[show private | hide private]
[frames | no frames]

Class XioAttr

XioBase --+
          |
         XioAttr


A class that wraps the globus_xio_attr_t structure.
Method Summary
  __init__(self, handle)
Creates an Xio Attr
  __del__(self)
Frees the memory associated with the XioAttr
  cntl(self, driver, cmd, args)
Manipulate the values associated with the attribute
  copy(self)
Return a new XioAttr object
    Inherited from XioBase
  get_handle(self)
Return the handle

Method Details

__init__(self, handle=None)
(Constructor)

Creates an Xio Attr
Overrides:
pyGlobus.xio.XioBase.__init__

__del__(self)
(Destructor)

Frees the memory associated with the XioAttr
Overrides:
pyGlobus.xio.XioBase.__del__

cntl(self, driver, cmd, args)

Manipulate the values associated with the attribute
Parameters:
driver - An XioDriver
cmd - A cmd that the driver understands, as of yet only TCP driver commands are available
args - A tuple of 0,1 or 2 items. Items can be strings, booleans or ints.
Returns:
This can return None, an int, boolean, string or a tuple of (bool,int) or (int,int). It depends on the nature of command issued.
Raises:
XioAttrException - A XioAttrException is raised if there is a problem issuing the command to the driver.

copy(self)

Return a new XioAttr object
Raises:
XioAttrException - A XioAttrException is raised if there is a problem copying the XioAttr

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