ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/filter/PluginServiceCheckManager.java
(Generate patch)

Comparing projects/cms/source/server/uk/org/iscream/cms/server/filter/PluginServiceCheckManager.java (file contents):
Revision 1.3 by ajm, Sun Feb 11 19:45:11 2001 UTC vs.
Revision 1.4 by tdb, Mon Feb 12 00:34:11 2001 UTC

# Line 44 | Line 44 | class PluginServiceCheckManager {
44      public final String REVISION = "$Revision$";
45      
46      /**
47 <     * file name suffix for plugin filter classes:
47 >     * file name suffix for plugin service check classes:
48       */
49      private final String _suffix = "__ServiceCheck";
50      
51   //---STATIC METHODS---
52  
53      /**
54 <     * Return a reference to the single class.
54 >     * Return a reference to the singleton class.
55       * Construct it if it does not already exist, otherwise just return the reference.
56       */
57      public static PluginServiceCheckManager getInstance() {
# Line 74 | Line 74 | class PluginServiceCheckManager {
74   //---PUBLIC METHODS---
75  
76      /**
77 <     * apply all of the filters in the pipeline to the packet.
78 <     * return true if they all accept the packet.
79 <     * return false if any single filter rejects the packet.
80 <     * return true if there are no filters inthe pipeline.
77 >     * run all registered service checks on a given host,
78 >     * returning XML data with information about the check.
79       *
80 <     * @param the host to run service checks for
81 <     * @return whether the packet can be passed on
80 >     * @param hostname the host to run service checks for
81 >     * @return the xml output from the service checks
82       */
83      public String runServiceChecks(String hostname){
84          if (!_hostPipelines.containsKey(hostname)) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines