Table of Contents

Class: Protocol ./src/protocols/interfaces.py

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,
        )


Table of Contents

This document was automatically generated on Mon Apr 22 01:11:13 2024 by HappyDoc version 2.1