public class SyncDoneControl extends AbstractControl implements ResponseControl
syncDoneValue ::= SEQUENCE {
cookie syncCookie OPTIONAL,
refreshDeletes BOOLEAN DEFAULT FALSE
}
| Modifier and Type | Class and Description |
|---|---|
private static class |
SyncDoneControl.CookieHandler
Parse handler implementation for the cookie.
|
private static class |
SyncDoneControl.RefreshDeletesHandler
Parse handler implementation for the refresh deletes flag.
|
| Modifier and Type | Field and Description |
|---|---|
private byte[] |
cookie
server generated cookie.
|
private static int |
HASH_CODE_SEED
hash code seed.
|
static String |
OID
OID of this control.
|
private boolean |
refreshDeletes
refresh deletes.
|
logger| Constructor and Description |
|---|
SyncDoneControl()
Default constructor.
|
SyncDoneControl(boolean critical)
Creates a new sync done control.
|
SyncDoneControl(byte[] value)
Creates a new sync done control.
|
SyncDoneControl(byte[] value,
boolean critical)
Creates a new sync done control.
|
SyncDoneControl(byte[] value,
boolean refresh,
boolean critical)
Creates a new sync done control.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decode(byte[] berValue)
Initializes this response control with the supplied BER encoded data.
|
boolean |
equals(Object o) |
byte[] |
getCookie()
Returns the sync done cookie.
|
boolean |
getRefreshDeletes()
Returns whether to refresh deletes.
|
int |
hashCode()
Returns the hash code for this object.
|
void |
setCookie(byte[] value)
Sets the sync done cookie.
|
void |
setRefreshDeletes(boolean b)
Sets whether to refresh deletes.
|
String |
toString() |
getCriticality, getOIDclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCriticality, getOIDpublic static final String OID
private static final int HASH_CODE_SEED
private byte[] cookie
private boolean refreshDeletes
public SyncDoneControl()
public SyncDoneControl(boolean critical)
critical - whether this control is criticalpublic SyncDoneControl(byte[] value)
value - sync done cookiepublic SyncDoneControl(byte[] value,
boolean critical)
value - sync done cookiecritical - whether this control is criticalpublic SyncDoneControl(byte[] value,
boolean refresh,
boolean critical)
value - sync done cookierefresh - whether to refresh deletescritical - whether this control is criticalpublic byte[] getCookie()
public void setCookie(byte[] value)
value - sync done cookiepublic boolean getRefreshDeletes()
public void setRefreshDeletes(boolean b)
b - refresh deletespublic boolean equals(Object o)
equals in class AbstractControlpublic int hashCode()
AbstractControlhashCode in class AbstractControlpublic void decode(byte[] berValue)
ResponseControldecode in interface ResponseControlberValue - BER encoded response controlCopyright © 2003-2019 Virginia Tech. All Rights Reserved.