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