1 |
//---PACKAGE DECLARATION--- |
2 |
package uk.ac.ukc.iscream.client; |
3 |
|
4 |
//---IMPORTS--- |
5 |
import uk.ac.ukc.iscream.util.XMLPacket; |
6 |
|
7 |
/** |
8 |
* An interface to which a PluginMonitor must adhere. |
9 |
* |
10 |
* @author $Author: tdb1 $ |
11 |
* @version $Id: PluginMonitor.java,v 1.1 2001/02/27 01:00:18 tdb1 Exp $ |
12 |
*/ |
13 |
public interface PluginMonitor { |
14 |
|
15 |
//---STATIC METHODS--- |
16 |
|
17 |
//---CONSTRUCTORS--- |
18 |
|
19 |
//---PUBLIC METHODS--- |
20 |
|
21 |
/** |
22 |
* Takes a packet and performs some analysis on it. What |
23 |
* it does as a result of this analysis is entirely up |
24 |
* to it. |
25 |
* |
26 |
* @param packet the packet to analyse |
27 |
*/ |
28 |
public void analysePacket(XMLPacket packet); |
29 |
|
30 |
/** |
31 |
* Gives a description of what this PluginMonitor does |
32 |
* |
33 |
* @return the description |
34 |
*/ |
35 |
public String getDescription(); |
36 |
|
37 |
//---PRIVATE METHODS--- |
38 |
|
39 |
//---ACCESSOR/MUTATOR METHODS--- |
40 |
|
41 |
} |