[Asterisk-java-cvs] CVS: asterisk-java/src/java/net/sf/asterisk/manager/event ResponseEvent.java,1.2
Brought to you by:
srt
From: Stefan R. <sr...@us...> - 2005-07-16 00:16:11
|
Update of /cvsroot/asterisk-java/asterisk-java/src/java/net/sf/asterisk/manager/event In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6530/src/java/net/sf/asterisk/manager/event Modified Files: ResponseEvent.java Log Message: Added internalActionId attribute to ResponseEvent Index: ResponseEvent.java =================================================================== RCS file: /cvsroot/asterisk-java/asterisk-java/src/java/net/sf/asterisk/manager/event/ResponseEvent.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -p -r1.2 -r1.3 --- ResponseEvent.java 23 Feb 2005 22:50:58 -0000 1.2 +++ ResponseEvent.java 16 Jul 2005 00:16:02 -0000 1.3 @@ -17,18 +17,18 @@ package net.sf.asterisk.manager.event; /** - * Abstract base class for events triggered in response to an Action.<br> - * All ResponseEvents contain an additional action id property that links the event to the action - * that caused it. + * Abstract base class for events triggered in response to a ManagerAction.<br> + * All ResponseEvents contain an additional action id property that links the + * event to the action that caused it. * * @see net.sf.asterisk.manager.action.ManagerAction - * * @author srt * @version $Id$ */ public abstract class ResponseEvent extends ManagerEvent { private String actionId; + private String internalActionId; /** * @param source @@ -39,7 +39,9 @@ public abstract class ResponseEvent exte } /** - * Returns the action id of the corresponding ManagerAction that caused this event. + * Returns the action id of the ManagerAction that caused this event. + * + * @return the action id of the ManagerAction that caused this event. */ public String getActionId() { @@ -47,10 +49,38 @@ public abstract class ResponseEvent exte } /** - * Sets the action id of the corresponding ManagerAction that caused this event. + * Sets the action id of the ManagerAction that caused this event. + * + * @param actionId the action id of the ManagerAction that caused this + * event. */ public void setActionId(String actionId) { this.actionId = actionId; } + + /** + * Returns the internal action id of the ManagerAction that caused this + * event. + * + * @return the internal action id of the ManagerAction that caused this + * event. + * @since 0.2 + */ + public String getInternalActionId() + { + return internalActionId; + } + + /** + * Sets the internal action id of the ManagerAction that caused this event. + * + * @param internalActionId the internal action id of the ManagerAction that + * caused this event. + * @since 0.2 + */ + public void setInternalActionId(String internalActionId) + { + this.internalActionId = internalActionId; + } } |