|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.asteriskjava.manager.event.ManagerEvent
org.asteriskjava.manager.event.AgentLoginEvent
public class AgentLoginEvent
An AgentLoginEvent is triggered when an agent is successfully logged in using AgentLogin.
It is implemented in channels/chan_agent.c
AgentLogoffEvent,
Serialized Form| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
AgentLoginEvent(java.lang.Object source)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAgent()
Returns the name of the agent that logged in. |
java.lang.String |
getChannel()
Returns the name of the channel associated with the logged in agent. |
java.lang.String |
getLoginChan()
Deprecated. use getChannel() instead. |
java.lang.String |
getUniqueId()
Returns the unique id of the channel associated with the logged in agent. |
void |
setAgent(java.lang.String agent)
Sets the name of the agent that logged in. |
void |
setChannel(java.lang.String channel)
Sets the name of the channel associated with the logged in agent. |
void |
setUniqueId(java.lang.String uniqueId)
Sets the unique id of the channel associated with the logged in agent. |
| Methods inherited from class org.asteriskjava.manager.event.ManagerEvent |
|---|
getDateReceived, getPrivilege, getServer, getTimestamp, setDateReceived, setPrivilege, setServer, setTimestamp, toString |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AgentLoginEvent(java.lang.Object source)
source - | Method Detail |
|---|
public java.lang.String getAgent()
public void setAgent(java.lang.String agent)
public java.lang.String getLoginChan()
getChannel() instead.
public java.lang.String getChannel()
public void setChannel(java.lang.String channel)
channel - the name of the channel associated with the logged in agent.public java.lang.String getUniqueId()
public void setUniqueId(java.lang.String uniqueId)
uniqueId - the unique id of the channel associated with the logged in agent.
|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||