|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.asteriskjava.live.Voicemailbox
public class Voicemailbox
An Asterisk voicemailbox with status.
| Constructor Summary | |
|---|---|
Voicemailbox(java.lang.String mailbox,
java.lang.String context,
java.lang.String user)
Creates a new instance. |
|
| Method Summary | |
|---|---|
java.lang.String |
getContext()
Returns the context of this mailbox as defined in voicemail.conf. |
java.lang.String |
getMailbox()
Returns the name of this mailbox as defined in voicemail.conf. |
int |
getNewMessages()
Returns the number of new messages. |
int |
getOldMessages()
Returns the number of old messages. |
java.lang.String |
getUser()
Returns the user (usually the full name) of this mailbox as defined in voicemail.conf. |
void |
setNewMessages(int newMessages)
Sets the number of new messages. |
void |
setOldMessages(int oldMessages)
Sets the number of old messages. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Voicemailbox(java.lang.String mailbox,
java.lang.String context,
java.lang.String user)
mailbox - the name of this mailbox as defined in voicemail.conf.context - the context of this mailbox as defined in voicemail.conf.user - the user of this mailbox as defined in voicemail.conf.| Method Detail |
|---|
public java.lang.String getMailbox()
voicemail.conf.
voicemail.conf.public java.lang.String getContext()
voicemail.conf.
voicemail.conf.public java.lang.String getUser()
voicemail.conf.
voicemail.conf.public int getNewMessages()
public void setNewMessages(int newMessages)
newMessages - the number of new messages.public int getOldMessages()
public void setOldMessages(int oldMessages)
oldMessages - the number of old messages.public java.lang.String toString()
toString in class java.lang.Object
|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||