comparison doc/design.txt @ 6168:de9d602c8ce6

more index entries and CHANGES.txt update for them.
author John Rouillard <rouilj@ieee.org>
date Thu, 14 May 2020 22:18:18 -0400
parents 16e1255b16cf
children 5522c950a2e4
comparison
equal deleted inserted replaced
6167:81ae33038ec5 6168:de9d602c8ce6
909 for i in range(len(options)): 909 for i in range(len(options)):
910 cl.create(name=option[i], order=i) 910 cl.create(name=option[i], order=i)
911 return hyperdb.Link(name) 911 return hyperdb.Link(name)
912 912
913 913
914 .. index:: schema; detectors design
915 single: detectors; design of
916 single: pair: detectors; auditors
917 single: pair: detectors; reactors
918
914 Detector Interface 919 Detector Interface
915 ------------------ 920 ------------------
916 921
917 Detectors are Python functions that are triggered on certain kinds of 922 Detectors are Python functions that are triggered on certain kinds of
918 events. These functions are placed in a special directory which exists 923 events. These functions are placed in a special directory which exists
933 938
934 If none of the auditors raises an exception, the database proceeds to 939 If none of the auditors raises an exception, the database proceeds to
935 carry out the operation. After it's done, it then calls all of the 940 carry out the operation. After it's done, it then calls all of the
936 *reactors* that have been registered for the operation. 941 *reactors* that have been registered for the operation.
937 942
943
944 .. index:: detectors; interface specification
945 single: detectors; register
946 single: auditors; class registration method
947 single: reactors; class registration method
948 pair: class methods; audit
949 pair: class methods; react
938 950
939 Detector Interface Specification 951 Detector Interface Specification
940 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 952 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
941 953
942 The ``audit()`` and ``react()`` methods register detectors on a given 954 The ``audit()`` and ``react()`` methods register detectors on a given

Roundup Issue Tracker: http://roundup-tracker.org/