public class AgentLoginEvent extends ManagerEvent
It is implemented in channels/chan_agent.c
AgentLogoffEvent
,
Serialized Formsource
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, getDateReceived, getFile, getFunc, getLine, getPrivilege, getSequenceNumber, getServer, getTimestamp, setDateReceived, setFile, setFunc, setLine, setPrivilege, setSequenceNumber, setServer, 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–2016. All rights reserved.