KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > clif > supervisor > api > SupervisorInfo


1 /*
2 * CLIF is a Load Injection Framework
3 * Copyright (C) 2003 France Telecom R&D
4 * Copyright (C) 2003 INRIA
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 *
20 * CLIF $Name: $
21 *
22 * Contact: clif@objectweb.org
23 */

24
25 package org.objectweb.clif.supervisor.api;
26
27 import org.objectweb.clif.storage.api.AlarmEvent;
28
29
30 /**
31  * Interface used to send blade state information from a CLIF server to the Supervisor
32  *
33  * @author Julien Buret
34  * @author Nicolas Droze
35  * @author Bruno Dillenseger
36  */

37 public interface SupervisorInfo
38 {
39     static public final String JavaDoc SUPERVISOR_INFO = "Supervisor information";
40
41     /**
42      * Informs that the state of a host has changed.
43      * @param id the scenario globally unique identifier object
44      * @param state The new state of the scenario
45      */

46     public void setBladeState(String JavaDoc id, BladeState state);
47
48     public void alarm(AlarmEvent alarm);
49 }
50
Popular Tags