KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > jtheory > jdring > AlarmListener


1 /*
2  * com/jtheory/jdring/AlarmListener.java
3  * Copyright (C) 1999 - 2004 jtheory creations, Olivier Dedieu et al.
4  *
5  * This library is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU Library General Public License as published
7  * by the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU Library General Public License for more details.
14  *
15  * You should have received a copy of the GNU Library General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18  */

19
20 package com.jtheory.jdring;
21
22 import java.util.Date JavaDoc;
23
24 /**
25   * The listener interface for receiving alarm events.
26   *
27   * @author Olivier Dedieu, David Sims, Jim Lerner
28   * @version 1.3, 06/15/2000
29   */

30 public interface AlarmListener {
31   
32   /**
33     * Invoked when an alarm is triggered.
34     *
35     * @param entry the AlarmEntry which has been triggered.
36     */

37   public abstract void handleAlarm(AlarmEntry entry);
38 }
39
40
Popular Tags