|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject net.sf.asterisk.manager.event.ManagerEvent net.sf.asterisk.manager.event.MessageWaitingEvent
public class MessageWaitingEvent
A MessageWaitingEvent is triggered when someone leaves voicemail.
It is implemented in apps/app_voicemail.c
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
MessageWaitingEvent(java.lang.Object source)
|
Method Summary | |
---|---|
java.lang.String |
getMailbox()
Returns the name of the mailbox that has waiting messages. The name of the mailbox is of the form numberOfMailbox@context, e.g. |
java.lang.Integer |
getNew()
Returns the number of new messages in this mailbox. |
java.lang.Integer |
getOld()
Returns the number of old messages in this mailbox. |
java.lang.Integer |
getWaiting()
Returns the number of new messages in the mailbox. |
void |
setMailbox(java.lang.String mailbox)
Sets the name of the mailbox that has waiting messages. |
void |
setNew(java.lang.Integer newMessages)
Sets the number of new messages in this mailbox. |
void |
setOld(java.lang.Integer oldMessages)
Sets the number of old messages in this mailbox. |
void |
setWaiting(java.lang.Integer waiting)
Sets the number of new messages in the mailbox. |
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 MessageWaitingEvent(java.lang.Object source)
source
- Method Detail |
---|
public java.lang.String getMailbox()
public void setMailbox(java.lang.String mailbox)
mailbox
- the name of the mailbox that has waiting messagespublic java.lang.Integer getWaiting()
public void setWaiting(java.lang.Integer waiting)
waiting
- the number of new messages in the mailboxpublic java.lang.Integer getNew()
public void setNew(java.lang.Integer newMessages)
newMessages
- the number of new messages in this mailbox.public java.lang.Integer getOld()
public void setOld(java.lang.Integer oldMessages)
oldMessages
- the number of old messages in this mailbox.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |