public class AlarmEvent extends ManagerEvent
It is implemented in channels/chan_zap.c
source| Constructor and Description |
|---|
AlarmEvent(Object source) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlarm()
Returns the kind of alarm that happened.
|
Integer |
getChannel()
Returns the number of the channel the alarm occured on.
|
void |
setAlarm(String alarm)
Sets the kind of alarm that happened.
|
void |
setChannel(Integer channel)
Sets the number of the channel the alarm occured on.
|
appendPropertyIfNotNull, getDateReceived, getFile, getFunc, getLine, getPrivilege, getSequenceNumber, getServer, getTimestamp, setDateReceived, setFile, setFunc, setLine, setPrivilege, setSequenceNumber, setServer, setTimestamp, toStringgetSourcepublic AlarmEvent(Object source)
source - public String getAlarm()
This may be one of
public void setAlarm(String alarm)
public Integer getChannel()
public void setChannel(Integer channel)
Copyright © 2004–2016. All rights reserved.