Asterisk-Java

org.asteriskjava.manager.response
Class MailboxCountResponse

java.lang.Object
  extended by org.asteriskjava.manager.response.ManagerResponse
      extended by org.asteriskjava.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 938 2007-12-31 03:23:38Z srt $
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 org.asteriskjava.manager.response.ManagerResponse
getActionId, getAttribute, getAttributes, getDateReceived, getEventList, getMessage, getResponse, getServer, getUniqueId, setActionId, setAttributes, setDateReceived, setEventList, setMessage, setResponse, setServer, setUniqueId, stringToInteger, stringToLong, 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.


Asterisk-Java

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