|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.asteriskjava.manager.action.AbstractManagerAction
org.asteriskjava.manager.action.MailboxStatusAction
public class MailboxStatusAction
The MailboxStatusAction checks if a mailbox contains waiting messages.
The MailboxStatusAction returns a MailboxStatusResponse.
MailboxStatusResponse
,
Serialized FormConstructor Summary | |
---|---|
MailboxStatusAction()
Creates a new empty MailboxStatusAction. |
|
MailboxStatusAction(java.lang.String mailbox)
Creates a new MailboxStatusAction that checks for waiting messages in the given mailbox. |
Method Summary | |
---|---|
java.lang.String |
getAction()
Returns the name of this action, i.e. |
java.lang.String |
getMailbox()
Returns the name of the mailbox to query. |
void |
setMailbox(java.lang.String mailbox)
Sets the name of the mailbox to query. |
Methods inherited from class org.asteriskjava.manager.action.AbstractManagerAction |
---|
getActionId, setActionId, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MailboxStatusAction()
public MailboxStatusAction(java.lang.String mailbox)
mailbox
- the name of the mailbox to check.This can either be only the number of the mailbox or a string of the form mailboxnumber@context. If no context is specified "default" is assumed.
Method Detail |
---|
public java.lang.String getAction()
getAction
in interface ManagerAction
getAction
in class AbstractManagerAction
public java.lang.String getMailbox()
public void setMailbox(java.lang.String mailbox)
This can either be only the name of the mailbox or a string of the form mailboxnumber@context. If no context is specified "default" is assumed.
Multiple mailboxes may be given, separated by ','. In this case the action checks whether at least one of the given mailboxes has waiting messages.
This property is mandatory.
Example: "1234,1235@mycontext"
|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |