public abstract class ResponseEvent extends ManagerEvent
All ResponseEvents contain an additional action id property that links the event to the action that caused it.
ManagerAction
,
Serialized Formsource
Constructor and Description |
---|
ResponseEvent(Object source) |
Modifier and Type | Method and Description |
---|---|
String |
getActionId()
Returns the user provided action id of the ManagerAction that caused
this event.
|
String |
getInternalActionId()
Returns the internal action id of the ManagerAction that caused this
event.
|
void |
setActionId(String actionId)
Sets the action id of the ManagerAction that caused this event.
|
void |
setInternalActionId(String internalActionId)
Sets the internal action id of the ManagerAction that caused this event.
|
appendPropertyIfNotNull, getDateReceived, getFile, getFunc, getLine, getPrivilege, getSequenceNumber, getServer, getTimestamp, setDateReceived, setFile, setFunc, setLine, setPrivilege, setSequenceNumber, setServer, setTimestamp, toString
getSource
public ResponseEvent(Object source)
public final String getActionId()
null
.null
if none was set.ManagerAction.setActionId(String)
public final void setActionId(String actionId)
actionId
- the action id of the ManagerAction that caused this
event.public final String getInternalActionId()
Warning: This method is internal to Asterisk-Java and should never be used in application code.
public final void setInternalActionId(String internalActionId)
internalActionId
- the internal action id of the ManagerAction that
caused this event.Copyright © 2004–2016. All rights reserved.