xmmsclient.sync
index
/usr/local/lib/python2.6/dist-packages/xmmsclient/sync.py

 
Modules
       
xmmsclient.xmmsapi

 
Classes
       
exceptions.Exception(exceptions.BaseException)
XMMSError
XMMSSync

 
class XMMSError(exceptions.Exception)
    Thrown when a synchronous method call on an XMMS client object fails.
 
 
Method resolution order:
XMMSError
exceptions.Exception
exceptions.BaseException
__builtin__.object

Data descriptors defined here:
__weakref__
list of weak references to the object (if defined)

Methods inherited from exceptions.Exception:
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Data and other attributes inherited from exceptions.Exception:
__new__ = <built-in method __new__ of type object at 0x8108c0>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from exceptions.BaseException:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getitem__(...)
x.__getitem__(y) <==> x[y]
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]
 
Use of negative indices is not supported.
__reduce__(...)
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__setstate__(...)
__str__(...)
x.__str__() <==> str(x)
__unicode__(...)

Data descriptors inherited from exceptions.BaseException:
__dict__
args
message

 
class XMMSSync
    A wrapper for the xmmsclient.XMMS class which simplifies synchronous
communication with the XMMS2 daemon.
 
Instances of this class may be used just like regular xmmsclient.XMMS
objects, except that instead of returning an XMMSResult instance, the
value associated with the result is returned.  If the XMMSResult
indicates an error, an XMMSError is raised instead of returning the
value.
 
  Methods defined here:
__getattr__(self, name)
__init__(self, clientname=None, xmms=None)
This constructor takes two optional arguments. If xmms is omitted
it will create a new underlying XMMS class otherwise it will use
the one supplied. Clientname is the name of the client and will
default to "Unnamed Python Client"