CWPOP3CacheManager


Discussion

This class provides trivial extensions to the CWCacheManager superclass for CWPOP3Folder instances. This cache manager makes use of CWPOP3CacheObject instances instead of CWPOP3Message instance for speed and size requirements restrictions.

Superclass

CWCacheManager

Declared In

CWPOP3CacheManager.h



Methods

-dateForUID:
-writeRecord:

dateForUID:


- (NSCalendarDate *) dateForUID: (NSString *) theUID; 
Parameters
theUID

The UID to verify.

Return Value

The date of the associated UID, nil if not present in the cache..

Discussion

This method is used to verify if the specific cache record with the POP3 UID theUID is present in the cache. It also returns the date associated to this specific UID.


writeRecord:


- (void) writeRecord: (cache_record *) theRecord; 
Parameters
theRecord

The record to write.

Discussion

This method is used to write a cache record to disk.


Member Data

_table

_table


private

NSMapTable *_table;