public class AgentCallbackLogoffEvent extends ManagerEvent
It is implemented in channels/chan_agent.c
AgentCallbackLoginEvent
,
Serialized FormcallerIdName, callerIdNum, channelState, channelStateDesc, connectedLineName, connectedLineNum, context, exten, priority
source
Constructor and Description |
---|
AgentCallbackLogoffEvent(Object source) |
Modifier and Type | Method and Description |
---|---|
String |
getAgent()
Returns the name of the agent that logged off.
|
String |
getLoginChan() |
Long |
getLoginTime() |
String |
getReason()
Returns the reason for the logoff.
|
String |
getUniqueId() |
void |
setAgent(String agent)
Sets the name of the agent that logged off.
|
void |
setLoginChan(String loginChan) |
void |
setLoginTime(Long loginTime) |
void |
setReason(String reason)
Sets the reason for the logoff.
|
void |
setUniqueId(String uniqueId) |
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 AgentCallbackLogoffEvent(Object source)
source
- public String getAgent()
public void setAgent(String agent)
public String getLoginChan()
public void setLoginChan(String loginChan)
public Long getLoginTime()
public void setLoginTime(Long loginTime)
public String getReason()
autologoff
to the appropriate number of seconds in agents.conf
.public void setReason(String reason)
public String getUniqueId()
public void setUniqueId(String uniqueId)
Copyright © 2004–2017. All rights reserved.