net.sf.asterisk.manager.event
Class AbstractQueueMemberEvent
java.lang.Object
java.util.EventObject
net.sf.asterisk.manager.event.ManagerEvent
net.sf.asterisk.manager.event.AbstractQueueMemberEvent
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- QueueMemberAddedEvent, QueueMemberPausedEvent, QueueMemberRemovedEvent
public abstract class AbstractQueueMemberEvent
- extends ManagerEvent
Abstract base class for several queue member related events.
- Since:
- 0.2
- Version:
- $Id: AbstractQueueMemberEvent.java,v 1.1 2005/08/28 09:45:19 srt Exp $
- Author:
- srt
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Method Summary |
java.lang.String |
getLocation()
Returns the name of the member's interface.
E.g. |
java.lang.String |
getQueue()
Returns the name of the queue. |
void |
setLocation(java.lang.String member)
Sets the name of the member's interface. |
void |
setQueue(java.lang.String queue)
Sets the name of the queue. |
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 |
AbstractQueueMemberEvent
public AbstractQueueMemberEvent(java.lang.Object source)
- Parameters:
source
-
getQueue
public java.lang.String getQueue()
- Returns the name of the queue.
- Returns:
- the name of the queue.
setQueue
public void setQueue(java.lang.String queue)
- Sets the name of the queue.
- Parameters:
queue
- the name of the queue.
getLocation
public java.lang.String getLocation()
- Returns the name of the member's interface.
E.g. the channel name or agent group.
- Returns:
- the name of the member's interface.
setLocation
public void setLocation(java.lang.String member)
- Sets the name of the member's interface.
- Parameters:
member
- the name of the member's interface.
Copyright © 2004-2005 Stefan Reuter. All Rights Reserved.