net.sf.asterisk.manager.event
Class HoldEvent

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

public class HoldEvent
extends ManagerEvent

A HoldEvent is triggered by the SIP channel driver when a channel is put on hold.
It is implemented in channels/chan_sip.c.
Available since Asterisk 1.2

Since:
0.2
Version:
$Id: HoldEvent.java,v 1.2 2005/08/28 12:20:53 srt Exp $
Author:
srt
See Also:
UnholdEvent, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
HoldEvent(java.lang.Object source)
          Creates a new HoldEvent.
 
Method Summary
 java.lang.String getChannel()
          Returns the name of the channel.
 java.lang.String getUniqueId()
          Returns the unique id of the channel.
 void setChannel(java.lang.String channel)
          Sets the name of the channel.
 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

HoldEvent

public HoldEvent(java.lang.Object source)
Creates a new HoldEvent.

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.


setUniqueId

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



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