|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
net.sf.asterisk.manager.event.ManagerEvent
net.sf.asterisk.manager.event.DNDStateEvent
public class DNDStateEvent
A DNDStateEvent is triggered by the Zap channel driver when a channel enters
or leaves DND (do not disturb) state.
It is implemented in channels/chan_zap.c.
Available since Asterisk 1.2
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
DNDStateEvent(java.lang.Object source)
Creates a new DNDStateEvent. |
|
| Method Summary | |
|---|---|
java.lang.String |
getChannel()
Returns the name of the channel. |
java.lang.String |
getState()
Returns DND state of the channel. |
void |
setChannel(java.lang.String channel)
Sets the name of the channel. |
void |
setState(java.lang.String state)
Sets the DND state 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 |
|---|
public DNDStateEvent(java.lang.Object source)
source - | Method Detail |
|---|
public java.lang.String getChannel()
public void setChannel(java.lang.String channel)
public java.lang.String getState()
public void setState(java.lang.String state)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||