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/PluginServiceCheck.java
Revision: 1.1
Committed: Sun Feb 11 18:01:43 2001 UTC (23 years, 3 months ago) by ajm
Branch: MAIN
Log Message:
initial checkin of the service check functionality

File Contents

# User Rev Content
1 ajm 1.1 //---PACKAGE DECLARATION---
2     package uk.ac.ukc.iscream.filter;
3    
4     //---IMPORTS---
5     import uk.ac.ukc.iscream.util.XMLPacket;
6    
7     /**
8     * An interface to which a Plugin for a Service Check must adhere.
9     *
10     * @author $Author: tdb1 $
11     * @version $Id: PluginFilter.java,v 1.4 2001/02/01 00:18:42 tdb1 Exp $
12     */
13     public interface PluginServiceCheck {
14    
15     //---STATIC METHODS---
16    
17     //---CONSTRUCTORS---
18    
19     //---PUBLIC METHODS---
20    
21     /**
22     * Performs a check on the service, and returns the
23     * XML for the service check
24     *
25     * @param packet the packet to filter on
26     * @return the XML
27     */
28     public String runServiceCheck(String hostname);
29    
30    
31     /**
32     * Return a String representation of what the plugin service check
33     * does (e.g. "Rejects packets if x, y, and z")
34     *
35     * @return the description
36     */
37     public String getDescription();
38    
39     //---PRIVATE METHODS---
40    
41     //---ACCESSOR/MUTATOR METHODS---
42    
43     }