net.sf.asterisk.manager.action
Interface EventGeneratingAction

All Superinterfaces:
ManagerAction, java.io.Serializable
All Known Implementing Classes:
AgentsAction, DBGetAction, OriginateAction, ParkedCallsAction, QueueStatusAction, SIPPeersAction, SIPShowPeerAction, StatusAction, 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,v 1.2 2005/07/16 21:48:16 srt Exp $
Author:
srt
See Also:
ResponseEvent

Method Summary
 java.lang.Class getActionCompleteEventClass()
          Returns the event type that indicates that Asterisk is finished sending response events for this action.
 
Methods inherited from interface net.sf.asterisk.manager.action.ManagerAction
getAction, getActionId, setActionId
 

Method Detail

getActionCompleteEventClass

java.lang.Class 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


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