Asterisk-Java

org.asteriskjava.manager.action
Interface EventGeneratingAction

All Superinterfaces:
ManagerAction, java.io.Serializable
All Known Implementing Classes:
AgentsAction, DbGetAction, OriginateAction, ParkedCallsAction, QueueStatusAction, QueueSummaryAction, 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 397 2006-05-26 12:13:32Z srt $
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 org.asteriskjava.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

Asterisk-Java

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