|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.asterisk.manager.action.AbstractManagerAction net.sf.asterisk.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. This can either be only the name of the mailbox or a string of the form mailboxnumber@context. |
Methods inherited from class net.sf.asterisk.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.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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |