com.hs.mail.imap.message.response
Class SelectResponse

java.lang.Object
  extended by com.hs.mail.imap.message.response.AbstractImapResponse
      extended by com.hs.mail.imap.message.response.SelectResponse
All Implemented Interfaces:
ImapResponse

public class SelectResponse
extends AbstractImapResponse

Since:
Mar 19, 2010
Author:
Won Chul Doh

Field Summary
 
Fields inherited from interface com.hs.mail.imap.message.response.ImapResponse
NIL
 
Constructor Summary
SelectResponse(Mailbox mailbox)
           
 
Method Summary
 long getFirstUnseen()
          Gets the UID of the first unseen message.
 int getMessageCount()
          Gets the number of messages that this mailbox contains.
 long getNextUid()
          Gets the next unique identifier predicted.
 int getRecentMessageCount()
          Gets the number of recent messages.
 long getUidValidity()
          Gets the unique identifier validity value.
 void setFirstUnseen(long firstUnseen)
           
 void setMessageCount(int count)
           
 void setRecentMessageCount(int count)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectResponse

public SelectResponse(Mailbox mailbox)
Method Detail

getFirstUnseen

public long getFirstUnseen()
Gets the UID of the first unseen message.

Returns:
UID of the first unseen message, zero if not exist unseen message

setFirstUnseen

public void setFirstUnseen(long firstUnseen)

getMessageCount

public int getMessageCount()
Gets the number of messages that this mailbox contains.

Returns:
number of messages contained

setMessageCount

public void setMessageCount(int count)

getRecentMessageCount

public int getRecentMessageCount()
Gets the number of recent messages.

Returns:
number of recent messages

setRecentMessageCount

public void setRecentMessageCount(int count)

getNextUid

public long getNextUid()
Gets the next unique identifier predicted.

Returns:
the UID that will be assigned to the next appended message

getUidValidity

public long getUidValidity()
Gets the unique identifier validity value.

Returns:
UIDVALIDITY


Copyright © 2011. All Rights Reserved.