Package twisted :: Package python :: Module components :: Class Interface
[show private | hide private]
[frames | no frames]

Type Interface

object --+
         |
        Interface

Known Subclasses:
IConnectedLDAPEntry, IConnector, ICredentialsChecker, IEditableLDAPEntry, ILDAPConfig, ILDAPEntry, IMove, ITransport

Base class for interfaces.

Interfaces define and document an interface for a class. An interface class's name must begin with I, and all its methods should have no implementation code.

Objects that implement an interface should have an attribute __implements__, that should be either an Interface subclass or a tuple, or tuple of tuples, of such Interface classes.

A class whose instances implement an interface should list the interfaces its instances implement in, other)
Return the intersection of two sets as a new set.   __cmp__(self, other)   __contains__(self, element)
Report whether an element is a member of a set.   __ge__(self, other)
Report whether this set contains another set.   __gt__(self, other)   __iter__(self)
Return an iterator over the elements or a set.   __le__(self, other)
Report whether another set contains this set.   __len__(self)
Return the number of elements of a set.   __lt__(self, other)   __or__(self, other)
Return the union of two sets as a new set.   __str__(self)
Return string representation of a set.   __sub__(self, other)
Return the difference of two sets as a new Set.   __xor__(self, other)
Return the symmetric difference of two sets as a new set.   issubset(self, other)
Report whether another set contains this set.   issuperset(self, other)
Report whether this set contains another set.   _binary_sanity_check(self, other)   _compute_hash(self)   _repr(self, sorted)   _update(self, iterable)     Inherited from object