Thread: python - ip: Implement some common code in Connector and Fitting

python - ip: Implement some common code in Connector and Fitting

From
jwp@pgfoundry.org (James William Pye)
Date:
Log Message:
-----------
Implement some common code in Connector and Fitting classes.

These were more abstract, but some common functionality could be implemented
here, so do so. In particular, the way in which Connectors are instantiated is a
bit difficult, so avoid the headaches of duplication by placing them here.

Also, introduce the idea of adaption for Interface classes. This provides the
ability to layer interfaces on already established connections, instead of
requiring a new Connector to be used.

Modified Files:
--------------
    ip/src:
        abstract.py (r1.2 -> r1.3)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/ip/src/abstract.py.diff?r1=1.2&r2=1.3)

Added Files:
-----------
    ip/test:
        abstract.py (r1.1)

(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/ip/test/abstract.py?rev=1.1&content-type=text/x-cvsweb-markup)