net.sf.asterisk.manager.event
Class AbstractAgentEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.sf.asterisk.manager.event.ManagerEvent
          extended by net.sf.asterisk.manager.event.AbstractAgentEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AgentCompleteEvent, AgentConnectEvent, AgentDumpEvent, FaxReceivedEvent

public abstract class AbstractAgentEvent
extends ManagerEvent

Abstract base class for several agent related events.

Since:
0.2
Version:
$Id: AbstractAgentEvent.java,v 1.1 2005/08/28 09:45:18 srt Exp $
Author:
srt
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AbstractAgentEvent(java.lang.Object source)
           
 
Method Summary
 java.lang.String getChannel()
          Returns the name of the channel.
 java.lang.String getMember()
          Returns the name of the member's interface.
 java.lang.String getQueue()
          Returns the name of the queue.
 java.lang.String getUniqueId()
          Returns the unique id of the channel.
 void setChannel(java.lang.String channel)
          Sets the name of the channel.
 void setMember(java.lang.String member)
          Sets the name of the member's interface.
 void setQueue(java.lang.String queue)
          Sets the name of the queue.
 void setUniqueId(java.lang.String uniqueId)
          Sets the unique id of the channel.
 
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

AbstractAgentEvent

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

getChannel

public java.lang.String getChannel()
Returns the name of the channel.


setChannel

public void setChannel(java.lang.String channel)
Sets the name of the channel.


getUniqueId

public java.lang.String getUniqueId()
Returns the unique id of the channel.

Returns:
the unique id of the channel.

setUniqueId

public void setUniqueId(java.lang.String uniqueId)
Sets the unique id of the channel.

Parameters:
uniqueId - the unique id of the channel.

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.

getMember

public java.lang.String getMember()
Returns the name of the member's interface.

Returns:
the name of the member's interface.

setMember

public void setMember(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.