yahoo / imapnio

Java imap nio client that is designed to scale well for thousands of connections per machine and reduce contention when using large number of threads and cpus.
57 stars 50 forks source link

Add CondStore #87

Open alex-yxw opened 4 years ago

alex-yxw commented 4 years ago

Description

a. added the UNCHANGEDSINCE STORE modifier. b. added the MODIFIED response code that is used with an OK response to the STORE command. (It can also be used in a NO response.) c. added the CHANGEDSINCE FETCH modifier. d. added a new MODSEQ search criterion. e. defined an additional CONDSTORE parameter to SELECT/EXAMINE commands. f. added VANISHED UID FETCH modifier

Motivation and Context

Store command can send additional UNCHANGEDSINCE parameter, Store response can be parsed with MODIFIED response code, , Fetch command can send additional CHANGEDSINCE and Vanished parameter, Search command can send with MODSEQ parameter, and Select/Examine command can send additional CONDSTORE parameter, when CONDSTORE is supported. To support client to send that parameter added new classes.

How Has This Been Tested?

Added unit tests to verify

Screenshots (if appropriate):

Types of changes

Checklist:

alex-yxw commented 4 years ago

@fansu @jui8wang

nvsnvikram commented 2 years ago

Sorry, I didn't know about this pull request. Can you rebase and let me know? I will try to take a look soon. @fansu and @jui8wang , please do a final review and let me know.

tolikbotov commented 1 year ago

Hello. Are there any plans to merge this?