net.sf.asterisk.manager.event
Class AgentLoginEvent
java.lang.Object
java.util.EventObject
net.sf.asterisk.manager.event.ManagerEvent
net.sf.asterisk.manager.event.AgentLoginEvent
- All Implemented Interfaces:
- java.io.Serializable
public class AgentLoginEvent
- extends ManagerEvent
An AgentLoginEvent is triggered when an agent is successfully logged in using AgentLogin.
It is implemented in channels/chan_agent.c
- Version:
- $Id: AgentLoginEvent.java,v 1.2 2005/02/23 22:50:58 srt Exp $
- Author:
- srt
- See Also:
AgentLogoffEvent
,
Serialized Form
Fields inherited from class java.util.EventObject |
source |
Method Summary |
java.lang.String |
getAgent()
Returns the name of the agent that logged in. |
java.lang.String |
getLoginChan()
|
java.lang.String |
getUniqueId()
|
void |
setAgent(java.lang.String agent)
Sets the name of the agent that logged in. |
void |
setLoginChan(java.lang.String loginChan)
|
void |
setUniqueId(java.lang.String uniqueId)
|
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 |
AgentLoginEvent
public AgentLoginEvent(java.lang.Object source)
- Parameters:
source
-
getAgent
public java.lang.String getAgent()
- Returns the name of the agent that logged in.
setAgent
public void setAgent(java.lang.String agent)
- Sets the name of the agent that logged in.
getLoginChan
public java.lang.String getLoginChan()
setLoginChan
public void setLoginChan(java.lang.String loginChan)
getUniqueId
public java.lang.String getUniqueId()
setUniqueId
public void setUniqueId(java.lang.String uniqueId)
Copyright © 2004-2005 Stefan Reuter. All Rights Reserved.