Asterisk-Java

org.asteriskjava.manager.action
Interface EventGeneratingAction

All Superinterfaces:
ManagerAction, java.io.Serializable
All Known Implementing Classes:
AgentsAction, AgiAction, DbGetAction, IaxPeerListAction, OriginateAction, ParkedCallsAction, QueueStatusAction, QueueSummaryAction, ShowDialplanAction, SipPeersAction, SipShowRegistryAction, StatusAction, VoicemailUsersListAction, ZapShowChannelsAction

public interface EventGeneratingAction
extends ManagerAction

The EventGeneratingAction interface is implemented by ManagerActions that return their result not in a ManagerResponse but by sending a series of events.

The event type that indicates that Asterisk is finished is returned by the getActionCompleteEventClass() method.

Since:
0.2
Version:
$Id: EventGeneratingAction.java 1121 2008-08-16 20:54:12Z srt $
Author:
srt
See Also:
ResponseEvent

Method Summary
 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 interface org.asteriskjava.manager.action.ManagerAction
getAction, getActionId, setActionId
 

Method Detail

getActionCompleteEventClass

java.lang.Class<? extends ResponseEvent> getActionCompleteEventClass()
Returns the event type that indicates that Asterisk is finished sending response events for this action.

Returns:
a Class that is an instance of ResponseEvent.
See Also:
ResponseEvent

Asterisk-Java

Copyright © 2004-2009 Stefan Reuter. All Rights Reserved.