net.sf.asterisk.manager.event
Class AlarmClearEvent

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

public class AlarmClearEvent
extends ManagerEvent

An AlarmEvent is triggered when a Zap channel leaves alarm state.
It is implemented in channels/chan_zap.c

Version:
$Id: AlarmClearEvent.java,v 1.3 2005/02/27 15:15:02 srt Exp $
Author:
srt
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AlarmClearEvent(java.lang.Object source)
           
 
Method Summary
 java.lang.Integer getChannel()
          Returns the number of the zap channel that left alarm state.
 void setChannel(java.lang.Integer channel)
          Sets the number of the zap channel that left alarm state.
 
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

AlarmClearEvent

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

getChannel

public java.lang.Integer getChannel()
Returns the number of the zap channel that left alarm state.

Returns:
the number of the zap channel that left alarm state.

setChannel

public void setChannel(java.lang.Integer channel)
Sets the number of the zap channel that left alarm state.

Parameters:
channel - the number of the zap channel that left alarm state.


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