Table of Contents

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

A protocol that be told what it implies, and what supports it

Note that these methods are for the use of the declaration APIs only, and you should NEVER call them directly.

Base Classes   
IAdaptingProtocol
Methods   
addImplicationListener
addImpliedProtocol
registerImplementation
registerObject
  addImplicationListener 
addImplicationListener ( listener )

Notify listener whenever protocol has new implied protocol

  addImpliedProtocol 
addImpliedProtocol (
        proto,
        adapter=NO_ADAPTER_NEEDED,
        depth=1,
        )

adapter' provides conversion from this protocol to 'proto

  registerImplementation 
registerImplementation (
        klass,
        adapter=NO_ADAPTER_NEEDED,
        depth=1,
        )

adapter provides protocol for instances of klass

  registerObject 
registerObject (
        ob,
        adapter=NO_ADAPTER_NEEDED,
        depth=1,
        )

adapter provides protocol for ob directly


Table of Contents

This document was automatically generated on Mon Dec 16 01:11:12 2024 by HappyDoc version 2.1