org.asteriskjava.manager.event
Class AlarmClearEvent
java.lang.Object
java.util.EventObject
org.asteriskjava.manager.event.ManagerEvent
org.asteriskjava.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 938 2007-12-31 03:23:38Z srt $
- Author:
- srt
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
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 java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AlarmClearEvent
public AlarmClearEvent(java.lang.Object source)
- Parameters:
source
-
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-2009 Stefan Reuter. All Rights Reserved.