comparison src/org/dancres/blitz/remote/StatsAdmin.java @ 0:3dc0c5604566

Initial checkin of blitz 2.0 fcs - no installer yet.
author Dan Creswell <dan.creswell@gmail.com>
date Sat, 21 Mar 2009 11:00:06 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:3dc0c5604566
1 package org.dancres.blitz.remote;
2
3 import java.rmi.Remote;
4 import java.rmi.RemoteException;
5
6 import org.dancres.blitz.stats.Stat;
7 import org.dancres.blitz.stats.StatsBoard;
8 import org.dancres.blitz.stats.Switch;
9
10 /**
11 Proxy interface to provide access to and configuration of Blitz statistics.
12 */
13 public interface StatsAdmin extends Remote {
14 /**
15 @return an array of Stat instances. The instances will be some mix of
16 the Stat implementations in <code>org.dancres.blitz.stats</code>.
17
18 @see org.dancres.blitz.stats.TypesStat
19 @see org.dancres.blitz.stats.OpStat
20 */
21 public Stat[] getStats() throws RemoteException;
22
23 /**
24 Remotely configure the generation of stats. Typically switching some
25 on and some off (hence Switch). Switch instances will be any of those
26 in <code>org.dancres.blitz.stats</code>
27
28 @see org.dancres.blitz.stats.OpSwitch
29 */
30 public void setSwitches(Switch[] aListOfSwitches) throws RemoteException;
31 }