org.asteriskjava.manager.action
Class ZapShowChannelsAction
java.lang.Object
org.asteriskjava.manager.action.AbstractManagerAction
org.asteriskjava.manager.action.ZapShowChannelsAction
- All Implemented Interfaces:
- java.io.Serializable, EventGeneratingAction, ManagerAction
public class ZapShowChannelsAction
- extends AbstractManagerAction
- implements EventGeneratingAction
The ZapShowChannelsAction requests the state of all zap channels.
For each zap channel a ZapShowChannelsEvent is generated. After all zap
channels have been listed a ZapShowChannelsCompleteEvent is generated.
- Version:
- $Id: ZapShowChannelsAction.java 1121 2008-08-16 20:54:12Z srt $
- Author:
- srt
- See Also:
ZapShowChannelsEvent
,
ZapShowChannelsCompleteEvent
,
Serialized Form
Method Summary |
java.lang.String |
getAction()
Returns the name of this action, i.e. |
java.lang.Class<? extends ResponseEvent> |
getActionCompleteEventClass()
Returns the event type that indicates that Asterisk is finished sending
response events for this action. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ZapShowChannelsAction
public ZapShowChannelsAction()
- Creates a new ZapShowChannelsAction.
getAction
public java.lang.String getAction()
- Returns the name of this action, i.e. "ZapShowChannels".
- Specified by:
getAction
in interface ManagerAction
- Specified by:
getAction
in class AbstractManagerAction
getActionCompleteEventClass
public java.lang.Class<? extends ResponseEvent> getActionCompleteEventClass()
- Description copied from interface:
EventGeneratingAction
- Returns the event type that indicates that Asterisk is finished sending
response events for this action.
- Specified by:
getActionCompleteEventClass
in interface EventGeneratingAction
- Returns:
- a Class that is an instance of ResponseEvent.
- See Also:
ResponseEvent
Copyright © 2004-2009 Stefan Reuter. All Rights Reserved.