Main Page | Class Hierarchy | Class List | Class Members

RecentResponse Class Reference

Inheritance diagram for RecentResponse:

Response List of all members.

Detailed Description

RecentResponse is a class that represents an IMAP4 RECENT response. A RECENT response reports the number of "recent" messages in the currently selected mailbox. The server sends a RECENT response in response to a SELECT or EXAMINE client command. The server may also send a RECENT response when the number of messages changes, such as when new mail arrives.


Public Member Functions

 RecentResponse ()
 Default constructor.
 RecentResponse (const RecentResponse &other)
 Copy constructor.
virtual ~RecentResponse ()
 Destructor.
RecentResponseoperator= (const RecentResponse &other)
 Assignment operator.
uint32_t Number () const
 Returns the number of recent messages in currently selected mailbox.
void Number (uint32_t n)
 Sets the number of recent messages.


Constructor & Destructor Documentation

RecentResponse  ) 
 

Default constructor.

RecentResponse const RecentResponse other  ) 
 

Copy constructor.

Parameters:
other other object to copy

~RecentResponse  )  [virtual]
 

Destructor.


Member Function Documentation

void Number uint32_t  n  ) 
 

Sets the number of messages.

This function should be used only by the library itself.

Parameters:
n value to set

uint32_t Number  )  const
 

Gets the number of recent messages in the currently selected mailbox.

Returns:
number of recent messages

RecentResponse & operator= const RecentResponse other  ) 
 

Assignment operator.

Parameters:
other other object to copy
Returns:
*this

Copyright © 2001-2005 Hunny Software, Inc. All rights reserved.