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 10 01:12:03 2018 by HappyDoc version 2.1