Files
pyDevSup/python/devsup/interfaces.py
Michael Davidsaver f1cd3e4d2d python api
2013-03-30 18:44:27 -04:00

19 lines
405 B
Python

from zope.interface import Interface
class DeviceSupport(Interface):
def detach(record):
"""Disconnect from the record.
This is the last method called.
"""
def allowScan(record):
"""Return True to allow SCAN='I/O Intr'
or False to prevent this.
"""
def process(record, reason):
"""Callback for record processing action.
"""