1 |
|
//---PACKAGE DECLARATION--- |
2 |
< |
package uk.ac.ukc.iscream.filter; |
2 |
> |
package uk.org.iscream.cms.server.filter; |
3 |
|
|
4 |
|
//---IMPORTS--- |
5 |
< |
import uk.ac.ukc.iscream.util.XMLPacket; |
5 |
> |
import uk.org.iscream.cms.server.util.XMLPacket; |
6 |
|
|
7 |
|
/** |
8 |
|
* An interface to which a Plugin for a Service Check must adhere. |
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 |
25 |
> |
* @param hostname the hostname to run the checks on |
26 |
> |
* @return the XML containing results from the check |
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") |
32 |
> |
* Return a String representation of what the plugin service |
33 |
> |
* check does (e.g. "Checks the xxx service is running on host") |
34 |
|
* |
35 |
|
* @return the description |
36 |
|
*/ |