t.p.c.registerAdapter(adapterFactory, origInterface, *interfaceClasses) : function documentation

Part of twisted.python.components View Source

Register an adapter class.

An adapter class is expected to implement the given interface, by adapting instances implementing 'origInterface'. An adapter class's __init__ method should accept one parameter, an instance implementing 'origInterface'.

API Documentation for Twisted, generated by pydoctor at 2013-11-18 18:11:01.