Package aldrin :: Module interface :: Class Interface
[show private | hide private]
[frames | no frames]

Type Interface

object --+
         |
        Interface

Known Subclasses:
IExtension, IExtensionHost, IExtensionManager, IMainFrame

Base class for all interfaces, which is responsible for making sure contracts between host and client are not violated.
Method Summary
  __init__(self)
Compares implemented methods and warns on discrepancies in argument count, argument names or default values.
  create_protected_proxy(self, ifaces)
Returns a protected proxy object that only exports methods defined in interfaces.
  get_interfaces(self)
Returns all supported interfaces.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Method Details

__init__(self)
(Constructor)

Compares implemented methods and warns on discrepancies in argument count, argument names or default values.
Overrides:
__builtin__.object.__init__

create_protected_proxy(self, ifaces=None)

Returns a protected proxy object that only exports methods defined in interfaces.
Parameters:
ifaces - List of interfaces to expose or None.
           (type=[class, ...])

get_interfaces(self)

Returns all supported interfaces.

Generated by Epydoc 2.1 on Sun Feb 4 18:01:14 2007 http://epydoc.sf.net