1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package net.sf.asterisk.manager.action;
18
19 import net.sf.asterisk.manager.event.ParkedCallsCompleteEvent;
20
21 /***
22 * The ParkedCallsAction requests a list of all currently parked calls.<br>
23 * For each active channel a ParkedCallEvent is generated. After all parked
24 * calls have been reported a ParkedCallsCompleteEvent is generated.
25 *
26 * @see net.sf.asterisk.manager.event.ParkedCallEvent
27 * @see net.sf.asterisk.manager.event.ParkedCallsCompleteEvent
28 * @author srt
29 * @version $Id: ParkedCallsAction.java,v 1.5 2005/08/07 16:43:29 srt Exp $
30 */
31 public class ParkedCallsAction extends AbstractManagerAction
32 implements
33 EventGeneratingAction
34 {
35 /***
36 * Serializable version identifier
37 */
38 private static final long serialVersionUID = 1859575016378824743L;
39
40 /***
41 * Creates a new ParkedCallsAction.
42 */
43 public ParkedCallsAction()
44 {
45
46 }
47
48 /***
49 * Returns the name of this action, i.e. "ParkedCalls".
50 */
51 public String getAction()
52 {
53 return "ParkedCalls";
54 }
55
56 public Class getActionCompleteEventClass()
57 {
58 return ParkedCallsCompleteEvent.class;
59 }
60 }