Asterisk-Java

org.asteriskjava.manager.event
Class AbstractParkedCallEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.asteriskjava.manager.event.ManagerEvent
          extended by org.asteriskjava.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 459 2006-07-06 23:24:57Z srt $
Author:
srt
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
protected 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 org.asteriskjava.manager.event.ManagerEvent
getDateReceived, getPrivilege, getTimestamp, setDateReceived, setPrivilege, setTimestamp, 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

protected 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.

Asterisk-Java

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