public class AgentLoginEvent extends ManagerEvent
It is implemented in channels/chan_agent.c
AgentLogoffEvent
,
Serialized FormcallerIdName, callerIdNum, channelState, channelStateDesc, connectedLineName, connectedLineNum, context, exten, priority
source
Constructor and Description |
---|
AgentLoginEvent(Object source) |
Modifier and Type | Method and Description |
---|---|
String |
getAgent()
Returns the name of the agent that logged in.
|
String |
getChannel()
Returns the name of the channel associated with the logged in agent.
|
String |
getLoginChan()
Deprecated.
use
getChannel() instead. |
String |
getUniqueId()
Returns the unique id of the channel associated with the logged in agent.
|
void |
setAgent(String agent)
Sets the name of the agent that logged in.
|
void |
setChannel(String channel)
Sets the name of the channel associated with the logged in agent.
|
void |
setUniqueId(String uniqueId)
Sets the unique id of the channel associated with the logged in agent.
|
appendPropertyIfNotNull, getCallerIdName, getCallerIdNum, getChannelState, getChannelStateDesc, getConnectedLineName, getConnectedLineNum, getContext, getDateReceived, getExten, getFile, getFunc, getLine, getPriority, getPrivilege, getSequenceNumber, getServer, getSystemName, getTimestamp, setCallerIdName, setCallerIdNum, setChannelState, setChannelStateDesc, setConnectedLineName, setConnectedLineNum, setContext, setDateReceived, setExten, setFile, setFunc, setLine, setPriority, setPrivilege, setSequenceNumber, setServer, setSystemName, setTimestamp, toString
getSource
public AgentLoginEvent(Object source)
source
- public String getAgent()
public void setAgent(String agent)
@Deprecated public String getLoginChan()
getChannel()
instead.public String getChannel()
public void setChannel(String channel)
channel
- the name of the channel associated with the logged in agent.public String getUniqueId()
public void setUniqueId(String uniqueId)
uniqueId
- the unique id of the channel associated with the logged in agent.Copyright © 2004–2020. All rights reserved.