Generic protocol w/type-based adapter registry
Methods
|
|
__adapt__
__call__
__init__
addImplicationListener
addImpliedProtocol
getImpliedProtocols
registerImplementation
registerObject
|
|
__adapt__
|
__adapt__ ( self, obj )
|
|
__call__
|
__call__ (
self,
ob,
default=api._marker,
)
Adapt to this protocol
|
|
__init__
|
__init__ ( self )
|
|
addImplicationListener
|
addImplicationListener ( self, listener )
|
|
addImpliedProtocol
|
addImpliedProtocol (
self,
proto,
adapter=NO_ADAPTER_NEEDED,
depth=1,
)
|
|
getImpliedProtocols
|
getImpliedProtocols ( self )
|
|
registerImplementation
|
registerImplementation (
self,
klass,
adapter=NO_ADAPTER_NEEDED,
depth=1,
)
|
|
registerObject
|
registerObject (
self,
ob,
adapter=NO_ADAPTER_NEEDED,
depth=1,
)
|
|