org.asteriskjava.manager.action
Class CoreShowChannelsAction
java.lang.Object
org.asteriskjava.manager.action.AbstractManagerAction
org.asteriskjava.manager.action.CoreShowChannelsAction
- All Implemented Interfaces:
- java.io.Serializable, EventGeneratingAction, ManagerAction
public class CoreShowChannelsAction
- extends AbstractManagerAction
- implements EventGeneratingAction
The CoreShowChannelsAction requests the state of all active channels.
It is simmilar to StatusAction but with more information about that channel
For each active channel a CoreShowChannelEvent is generated. After the state of all
channels has been reported a CoreShowChannelsCompleteEvent is generated.
This action only works properly in 1.6.2 later than beta3.
- Since:
- 1.0.0
- Author:
- sebastian gutierrez
- See Also:
CoreShowChannelEvent
,
CoreShowChannelsCompleteEvent
,
Serialized Form
Method Summary |
java.lang.String |
getAction()
Returns the name of the action for example "Hangup". |
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 |
CoreShowChannelsAction
public CoreShowChannelsAction()
getAction
public java.lang.String getAction()
- Description copied from interface:
ManagerAction
- Returns the name of the action for example "Hangup".
- 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.