net.sf.asterisk.manager.event
Class AbstractQueueMemberEvent

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

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AbstractQueueMemberEvent(java.lang.Object 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 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

AbstractQueueMemberEvent

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

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.