public abstract class AbstractChannelEvent extends ManagerEvent
| Modifier and Type | Field and Description |
|---|---|
protected String |
uniqueId
The unique id of the channel.
|
callerIdName, callerIdNum, channelState, channelStateDesc, connectedLineName, connectedLineNum, context, exten, prioritysource| Modifier | Constructor and Description |
|---|---|
protected |
AbstractChannelEvent(Object source) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccountCode() |
String |
getCallerIdName()
Returns the Caller*ID Name of the channel if set or
null if
none has been set. |
String |
getCallerIdNum()
Returns the Caller*ID number of the channel if set or
null
if none has been set. |
String |
getChannel()
Returns the name of the channel.
|
String |
getUniqueId()
Returns the unique id of the channel.
|
void |
setAccountCode(String accountCode) |
void |
setCallerIdName(String callerIdName) |
void |
setCallerIdNum(String callerIdNum) |
void |
setChannel(String channel) |
void |
setUniqueId(String uniqueId) |
appendPropertyIfNotNull, 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 String uniqueId
protected AbstractChannelEvent(Object source)
public final String getChannel()
public final void setChannel(String channel)
public final String getUniqueId()
public final void setUniqueId(String uniqueId)
public final String getCallerIdNum()
null
if none has been set.getCallerIdNum in class ManagerEventpublic final void setCallerIdNum(String callerIdNum)
setCallerIdNum in class ManagerEventpublic final String getCallerIdName()
null if
none has been set.getCallerIdName in class ManagerEventpublic final void setCallerIdName(String callerIdName)
setCallerIdName in class ManagerEventpublic String getAccountCode()
public void setAccountCode(String accountCode)
Copyright © 2018. All rights reserved.