1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package net.sf.asterisk.manager.event;
18
19 /***
20 * A ReloadEvent is triggerd when the <code>reload</code> console command is executed or the
21 * asterisk server is started.<br>
22 * It is implemented in <code>manager.c</code>
23 *
24 * @author srt
25 * @version $Id: ReloadEvent.java,v 1.2 2005/02/23 22:50:58 srt Exp $
26 */
27 public class ReloadEvent extends ManagerEvent
28 {
29 /***
30 * Serializable version identifier
31 */
32 private static final long serialVersionUID = 7503005587022499819L;
33 private String message;
34
35 /***
36 * @param source
37 */
38 public ReloadEvent(Object source)
39 {
40 super(source);
41 }
42
43 /***
44 * Always returns "Reload Requested".
45 */
46 public String getMessage()
47 {
48 return message;
49 }
50
51 public void setMessage(String message)
52 {
53 this.message = message;
54 }
55 }