net.sf.asterisk.manager.event
Class HoldedCallEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.sf.asterisk.manager.event.ManagerEvent
          extended by net.sf.asterisk.manager.event.HoldedCallEvent
All Implemented Interfaces:
java.io.Serializable

public class HoldedCallEvent
extends ManagerEvent

A ParkedCallEvent is triggered when a channel is put on hold.
It is implemented in res/res_features.c

Version:
$Id: HoldedCallEvent.java,v 1.2 2005/02/23 22:50:58 srt Exp $
Author:
srt
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
HoldedCallEvent(java.lang.Object source)
           
 
Method Summary
 java.lang.String getChannel1()
          Returns the name of the channel that put the other channel on hold.
 java.lang.String getChannel2()
          Returns the name of the channel that has been put on hold.
 java.lang.String getUniqueId1()
          Returns the unique id of the channel that put the other channel on hold.
 java.lang.String getUniqueId2()
          Returns the unique id of the channel that has been put on hold.
 void setChannel1(java.lang.String channel1)
          Sets the name of the channel that put the other channel on hold.
 void setChannel2(java.lang.String channel2)
          Sets the name of the channel that has been put on hold.
 void setUniqueId1(java.lang.String uniqueId1)
          Sets the unique id of the channel that put the other channel on hold.
 void setUniqueId2(java.lang.String uniqueId2)
          Sets the unique id of the channel that has been put on hold.
 
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

HoldedCallEvent

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

getUniqueId1

public java.lang.String getUniqueId1()
Returns the unique id of the channel that put the other channel on hold.


setUniqueId1

public void setUniqueId1(java.lang.String uniqueId1)
Sets the unique id of the channel that put the other channel on hold.


getUniqueId2

public java.lang.String getUniqueId2()
Returns the unique id of the channel that has been put on hold.


setUniqueId2

public void setUniqueId2(java.lang.String uniqueId2)
Sets the unique id of the channel that has been put on hold.


getChannel1

public java.lang.String getChannel1()
Returns the name of the channel that put the other channel on hold.


setChannel1

public void setChannel1(java.lang.String channel1)
Sets the name of the channel that put the other channel on hold.


getChannel2

public java.lang.String getChannel2()
Returns the name of the channel that has been put on hold.


setChannel2

public void setChannel2(java.lang.String channel2)
Sets the name of the channel that has been put on hold.



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