From a683173f462f2571ed7a5bd3ba339d367bb87196 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Mon, 11 Dec 2006 03:45:31 +0000 Subject: Add Plugin-side changes for configuration entry slow-path binding git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2579 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Server/Plugin.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/lib/Server/Plugin.py b/src/lib/Server/Plugin.py index d78e6a5f1..8d944e7f8 100644 --- a/src/lib/Server/Plugin.py +++ b/src/lib/Server/Plugin.py @@ -51,6 +51,14 @@ class Plugin(object): '''Receive probe results pertaining to client''' pass + def HandlesEntry(self, entry): + '''This is the slow path method for routing configuration binding requests''' + return False + + def HandleEntry(self, entry, metadata): + '''This is the slow-path handler for configuration entry binding''' + raise PluginExecutionError + # the rest of the file contains classes for coherent file caching class FileBacked(object): -- cgit v1.2.3-1-g7c22