public abstract class AbstractChannelStateEvent extends AbstractChannelEvent
accountCode, uniqueIdcallerIdName, callerIdNum, channelState, channelStateDesc, connectedLineName, connectedLineNum, context, exten, prioritysource| Modifier | Constructor and Description |
|---|---|
protected |
AbstractChannelStateEvent(Object source) |
| Modifier and Type | Method and Description |
|---|---|
String |
getState()
Deprecated.
as of 1.0.0, use
ManagerEvent.getChannelStateDesc() instead or
even better switch to numeric values as returned by
ManagerEvent.getChannelState(). |
void |
setState(String state)
Sets the new state of the channel as a descriptive text.
|
getAccountCode, getCallerId, getCallerIdName, getCallerIdNum, getChannel, getUniqueId, setAccountCode, setCallerId, 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, toStringgetSourceprotected AbstractChannelStateEvent(Object source)
@Deprecated public String getState()
ManagerEvent.getChannelStateDesc() instead or
even better switch to numeric values as returned by
ManagerEvent.getChannelState().ManagerEvent.getChannelStateDesc().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 © 2004–2021. All rights reserved.