public abstract class AbstractChannelStateEvent extends AbstractChannelEvent
uniqueIdcallerIdName, callerIdNum, channelState, channelStateDesc, connectedLineName, connectedLineNum, context, exten, prioritysource| Modifier | Constructor and Description |
|---|---|
protected |
AbstractChannelStateEvent(Object source) |
| Modifier and Type | Method and Description |
|---|---|
void |
setState(String state)
Sets the new state of the channel as a descriptive text.
|
getAccountCode, getCallerIdName, getCallerIdNum, getChannel, getUniqueId, setAccountCode, setCallerIdName, setCallerIdNum, setChannel, setUniqueIdappendPropertyIfNotNull, getChannelState, getChannelStateDesc, getConnectedLineName, getConnectedLineNum, getContext, getDateReceived, getExten, getFile, getFunc, getLine, getPriority, getPrivilege, getSequenceNumber, getServer, getSystemName, getTimestamp, setChannelState, setChannelStateDesc, setConnectedLineName, setConnectedLineNum, setContext, setDateReceived, setExten, setFile, setFunc, setLine, setPriority, setPrivilege, setSequenceNumber, setServer, setSystemName, setTimestamp, toJsonString, toStringgetSourceprotected AbstractChannelStateEvent(Object source)
public void setState(String state)
The state property is used by Asterisk versions prior to 1.6.
state - the new state of the channel as a descriptive text.Copyright © 2018. All rights reserved.