|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.asteriskjava.manager.event.ManagerEvent
org.asteriskjava.manager.event.ResponseEvent
public abstract class ResponseEvent
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.
ManagerAction,
Serialized Form| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ResponseEvent(java.lang.Object source)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getActionId()
Returns the user provided 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 org.asteriskjava.manager.event.ManagerEvent |
|---|
getDateReceived, getPrivilege, getServer, getTimestamp, setDateReceived, setPrivilege, setServer, setTimestamp, toString |
| 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 |
| Constructor Detail |
|---|
public ResponseEvent(java.lang.Object source)
| Method Detail |
|---|
public java.lang.String getActionId()
null.
null if none was set.ManagerAction.setActionId(String)public void setActionId(java.lang.String actionId)
actionId - the action id of the ManagerAction that caused this
event.public java.lang.String getInternalActionId()
Warning: This method is internal to Asterisk-Java and should never be used in application code.
public void setInternalActionId(java.lang.String internalActionId)
internalActionId - the internal action id of the ManagerAction that
caused this event.
|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||