public abstract class AbstractChannelEvent extends ManagerEvent
Modifier and Type | Field and Description |
---|---|
protected String |
accountCode |
protected String |
uniqueId
The unique id of the channel.
|
callerIdName, callerIdNum, channelState, channelStateDesc, connectedLineName, connectedLineNum, context, exten, priority
source
Modifier | Constructor and Description |
---|---|
protected |
AbstractChannelEvent(Object source) |
Modifier and Type | Method and Description |
---|---|
String |
getAccountCode() |
String |
getCallerId()
Deprecated.
|
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 |
setCallerId(String callerId)
Deprecated.
|
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, toString
getSource
protected String accountCode
protected 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)
@Deprecated public final String getCallerId()
null
if none
has been set.getCallerIdNum()
@Deprecated public final void setCallerId(String callerId)
callerId
- the Caller*ID of the channel.public final String getCallerIdNum()
null
if none has been set.getCallerIdNum
in class ManagerEvent
public final void setCallerIdNum(String callerIdNum)
setCallerIdNum
in class ManagerEvent
public final String getCallerIdName()
null
if
none has been set.getCallerIdName
in class ManagerEvent
public final void setCallerIdName(String callerIdName)
setCallerIdName
in class ManagerEvent
public String getAccountCode()
public void setAccountCode(String accountCode)
Copyright © 2004–2022. All rights reserved.