net.sf.asterisk.manager.event
Class AgentLoginEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.sf.asterisk.manager.event.ManagerEvent
          extended by 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

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 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 net.sf.asterisk.manager.event.ManagerEvent
getDateReceived, getPrivilege, setDateReceived, setPrivilege, 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

AgentLoginEvent

public AgentLoginEvent(java.lang.Object source)
Parameters:
source -
Method Detail

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.