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 FormcallerIdName, callerIdNum, channelState, channelStateDesc, connectedLineName, connectedLineNum, context, exten, prioritysource| 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, getCallerIdName, getCallerIdNum, getChannelState, getChannelStateDesc, getConnectedLineName, getConnectedLineNum, getContext, getDateReceived, getExten, getFile, getFunc, getLine, getPriority, getPrivilege, getSequenceNumber, getServer, getSystemName, getTimestamp, setCallerIdName, setCallerIdNum, setChannelState, setChannelStateDesc, setConnectedLineName, setConnectedLineNum, setContext, setDateReceived, setExten, setFile, setFunc, setLine, setPriority, setPrivilege, setSequenceNumber, setServer, setSystemName, setTimestamp, toStringgetSourcepublic 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–2017. All rights reserved.