ResyncData is supplied to the
IMAPFolder open method.
The CONDSTORE ResyncData instance is used to enable the
CONDSTORE extension
(RFC 4551).
A ResyncData instance with uidvalidity and modseq values
is used to enable the QRESYNC extension.
| Modifier and Type | Field and Description |
|---|---|
| public static final ResyncData | CONDSTORE
Used to enable only the CONDSTORE extension. |
| private long | |
| private UIDSet[] | |
| private long |
| Access | Constructor and Description |
|---|---|
| public | ResyncData(long
the UIDVALIDITY uidvalidity, long the MODSEQ modseq)Used to report on changes since the specified modseq. |
| public | ResyncData(long
the UIDVALIDITY uidvalidity, long the MODSEQ modseq, long the first UID uidFirst, long the last UID uidLast)Used to limit the reported message changes to those with UIDs in the specified range. |
| public | ResyncData(long
the UIDVALIDITY uidvalidity, long the MODSEQ modseq, long[] the UID values uids)Used to limit the reported message changes to those with the specified UIDs. |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| pack-priv UIDSet[] | |
| public long | Returns: the UIDVALIDITY valueGet the UIDVALIDITY value specified when this instance was created. |
| CONDSTORE | back to summary |
|---|---|
| public static final ResyncData CONDSTORE Used to enable only the CONDSTORE extension. | |
| modseq | back to summary |
|---|---|
| private long modseq | |
| uids | back to summary |
|---|---|
| private UIDSet[] uids | |
| uidvalidity | back to summary |
|---|---|
| private long uidvalidity | |
| ResyncData | back to summary |
|---|---|
| public ResyncData(long uidvalidity, long modseq) Used to report on changes since the specified modseq. If the UIDVALIDITY of the folder has changed, no message changes will be reported. The application must check the UIDVALIDITY of the folder after open to make sure it's the expected folder.
| |
| ResyncData | back to summary |
|---|---|
| public ResyncData(long uidvalidity, long modseq, long uidFirst, long uidLast) Used to limit the reported message changes to those with UIDs in the specified range.
| |
| ResyncData | back to summary |
|---|---|
| public ResyncData(long uidvalidity, long modseq, long[] uids) Used to limit the reported message changes to those with the specified UIDs.
| |
| getModSeq | back to summary |
|---|---|
| public long getModSeq() Get the MODSEQ value specified when this instance was created.
| |
| getUIDSet | back to summary |
|---|---|
| pack-priv UIDSet[] getUIDSet() | |
| getUIDValidity | back to summary |
|---|---|
| public long getUIDValidity() Get the UIDVALIDITY value specified when this instance was created.
| |