net.sf.asterisk.manager.event
Class AbstractParkedCallEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.sf.asterisk.manager.event.ManagerEvent
          extended by net.sf.asterisk.manager.event.AbstractParkedCallEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ParkedCallGiveUpEvent, ParkedCallTimeOutEvent, UnparkedCallEvent

public abstract class AbstractParkedCallEvent
extends ManagerEvent

Abstract base class for several call parking related events.

Since:
0.2
Version:
$Id: AbstractParkedCallEvent.java,v 1.1 2005/08/27 16:16:45 srt Exp $
Author:
srt
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AbstractParkedCallEvent(java.lang.Object source)
           
 
Method Summary
 java.lang.String getCallerId()
          Returns the Caller*ID number of the parked channel.
 java.lang.String getCallerIdName()
          Returns the Caller*ID name of the parked channel.
 java.lang.String getChannel()
          Returns the name of the channel that is or was parked.
 java.lang.String getExten()
          Returns the extension the channel is or was parked at.
 void setCallerId(java.lang.String callerId)
          Sets the Caller*ID number of the parked channel.
 void setCallerIdName(java.lang.String callerIdName)
          Sets the Caller*ID name of the parked channel.
 void setChannel(java.lang.String channel)
          Sets the name of the channel that is or was parked.
 void setExten(java.lang.String exten)
          Sets the extension the channel is or was parked at.
 
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

AbstractParkedCallEvent

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

getExten

public java.lang.String getExten()
Returns the extension the channel is or was parked at.


setExten

public void setExten(java.lang.String exten)
Sets the extension the channel is or was parked at.


getChannel

public java.lang.String getChannel()
Returns the name of the channel that is or was parked.


setChannel

public void setChannel(java.lang.String channel)
Sets the name of the channel that is or was parked.


getCallerId

public java.lang.String getCallerId()
Returns the Caller*ID number of the parked channel.

Returns:
the Caller*ID number of the parked channel.

setCallerId

public void setCallerId(java.lang.String callerId)
Sets the Caller*ID number of the parked channel.

Parameters:
callerId - the Caller*ID number of the parked channel.

getCallerIdName

public java.lang.String getCallerIdName()
Returns the Caller*ID name of the parked channel.

Returns:
the Caller*ID name of the parked channel.

setCallerIdName

public void setCallerIdName(java.lang.String callerIdName)
Sets the Caller*ID name of the parked channel.

Parameters:
callerIdName - the Caller*ID name of the parked channel.


Copyright © 2004-2005 Stefan Reuter. All Rights Reserved.