public class VarSetEvent extends ManagerEvent
Available since Asterisk 1.6
It is implemented in main/pbx.c
source
Constructor and Description |
---|
VarSetEvent(Object source) |
Modifier and Type | Method and Description |
---|---|
String |
getChannel()
Returns the name of the channel or
null for global variables. |
String |
getUniqueId()
Returns the unique id of the channel or
null for global variables. |
String |
getValue()
Returns the new value of the variable.
|
String |
getVariable()
Returns the name of the variable that has been set.
|
void |
setChannel(String channel) |
void |
setUniqueId(String uniqueId) |
void |
setValue(String value) |
void |
setVariable(String variable) |
appendPropertyIfNotNull, getDateReceived, getFile, getFunc, getLine, getPrivilege, getSequenceNumber, getServer, getTimestamp, setDateReceived, setFile, setFunc, setLine, setPrivilege, setSequenceNumber, setServer, setTimestamp, toString
getSource
public VarSetEvent(Object source)
public String getChannel()
null
for global variables.null
for global variables.public void setChannel(String channel)
public String getUniqueId()
null
for global variables.null
for global variables.public void setUniqueId(String uniqueId)
public String getVariable()
public void setVariable(String variable)
public String getValue()
public void setValue(String value)
Copyright © 2004–2016. All rights reserved.