KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > hero > entity > AgentAlarmType


1 package hero.entity;
2 /*
3 * 25/03/2003 - 14:06:00
4 *
5 * AgenAlarmType.java -
6 * Copyright (C) 2003 Ecoo Team
7 * valdes@loria.fr
8 *
9 *
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public License
12 * as published by the Free Software Foundation; either version 2
13 * of the License, or (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License for more details.
19 *
20 * You should have received a copy of the GNU Lesser General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 */

24
25 import hero.interfaces.BnAgentLocal;
26
27 import org.apache.log4j.Category;
28
29
30 public class AgentAlarmType extends AgentType implements java.io.Serializable JavaDoc {
31
32     // Utility variable
33
private static final Category log = Category.getInstance(AgentAlarmType.class);
34
35     public AgentAlarmType() {
36     }
37
38         public void agentOperation (BnAgentLocal agent, java.sql.Timestamp JavaDoc date) {
39     // public void agentOperation (BnAgentLocal agent, Object agentInfo) {
40
log.debug("agentOperation: agent="+agent.getName());
41
42     }
43     
44     
45 }
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Popular Tags