net.sf.asterisk.manager.event
Class ResponseEvent
java.lang.Object
java.util.EventObject
net.sf.asterisk.manager.event.ManagerEvent
net.sf.asterisk.manager.event.ResponseEvent
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- AgentsCompleteEvent, AgentsEvent, DBGetResponseEvent, OriginateEvent, ParkedCallEvent, ParkedCallsCompleteEvent, PeerEntryEvent, PeerlistCompleteEvent, QueueEntryEvent, QueueMemberEvent, QueueParamsEvent, QueueStatusCompleteEvent, StatusCompleteEvent, StatusEvent, ZapShowChannelsCompleteEvent, ZapShowChannelsEvent
public abstract class ResponseEvent
- extends ManagerEvent
Abstract base class for events triggered in response to a ManagerAction.
All ResponseEvents contain an additional action id property that links the
event to the action that caused it.
- Version:
- $Id: ResponseEvent.java,v 1.3 2005/07/16 00:16:02 srt Exp $
- Author:
- srt
- See Also:
ManagerAction
,
Serialized Form
Fields inherited from class java.util.EventObject |
source |
Method Summary |
java.lang.String |
getActionId()
Returns the action id of the ManagerAction that caused this event. |
java.lang.String |
getInternalActionId()
Returns the internal action id of the ManagerAction that caused this
event. |
void |
setActionId(java.lang.String actionId)
Sets the action id of the ManagerAction that caused this event. |
void |
setInternalActionId(java.lang.String internalActionId)
Sets the internal action id of the ManagerAction that caused this event. |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ResponseEvent
public ResponseEvent(java.lang.Object source)
- Parameters:
source
-
getActionId
public java.lang.String getActionId()
- Returns the action id of the ManagerAction that caused this event.
- Returns:
- the action id of the ManagerAction that caused this event.
setActionId
public void setActionId(java.lang.String actionId)
- Sets the action id of the ManagerAction that caused this event.
- Parameters:
actionId
- the action id of the ManagerAction that caused this
event.
getInternalActionId
public java.lang.String getInternalActionId()
- Returns the internal action id of the ManagerAction that caused this
event.
- Returns:
- the internal action id of the ManagerAction that caused this
event.
- Since:
- 0.2
setInternalActionId
public void setInternalActionId(java.lang.String internalActionId)
- Sets the internal action id of the ManagerAction that caused this event.
- Parameters:
internalActionId
- the internal action id of the ManagerAction that
caused this event.- Since:
- 0.2
Copyright © 2004-2005 Stefan Reuter. All Rights Reserved.