net.sf.asterisk.manager.response
Class MailboxCountResponse

java.lang.Object
  extended by net.sf.asterisk.manager.response.ManagerResponse
      extended by net.sf.asterisk.manager.response.MailboxCountResponse
All Implemented Interfaces:
java.io.Serializable

public class MailboxCountResponse
extends ManagerResponse

A MailboxCountResponse is sent in response to a MailboxCountAction and contains the number of old and new messages in a mailbox.

Version:
$Id: MailboxCountResponse.java,v 1.2 2005/02/23 22:50:58 srt Exp $
Author:
srt
See Also:
MailboxCountAction, Serialized Form

Constructor Summary
MailboxCountResponse()
           
 
Method Summary
 java.lang.String getMailbox()
          Returns the name of the mailbox.
 java.lang.Integer getNewMessages()
          Returns the number of new messages in the mailbox.
 java.lang.Integer getOldMessages()
          Returns the number of old messages in the mailbox.
 void setMailbox(java.lang.String mailbox)
          Sets the name of the mailbox.
 void setNewMessages(java.lang.Integer newMessages)
          Sets the number of new messages in the mailbox.
 void setOldMessages(java.lang.Integer oldMessages)
          Sets the number of old messages in the mailbox.
 
Methods inherited from class net.sf.asterisk.manager.response.ManagerResponse
getActionId, getAttribute, getAttributes, getDateReceived, getMessage, getResponse, getUniqueId, setActionId, setAttributes, setDateReceived, setMessage, setResponse, setUniqueId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MailboxCountResponse

public MailboxCountResponse()
Method Detail

getMailbox

public java.lang.String getMailbox()
Returns the name of the mailbox.


setMailbox

public void setMailbox(java.lang.String mailbox)
Sets the name of the mailbox.


getNewMessages

public java.lang.Integer getNewMessages()
Returns the number of new messages in the mailbox.


setNewMessages

public void setNewMessages(java.lang.Integer newMessages)
Sets the number of new messages in the mailbox.


getOldMessages

public java.lang.Integer getOldMessages()
Returns the number of old messages in the mailbox.


setOldMessages

public void setOldMessages(java.lang.Integer oldMessages)
Sets the number of old messages in the mailbox.



Copyright © 2004-2005 Stefan Reuter. All Rights Reserved.