public class SyncDoneControl extends AbstractControl implements ResponseControl
syncDoneValue ::= SEQUENCE { cookie syncCookie OPTIONAL, refreshDeletes BOOLEAN DEFAULT FALSE }
Modifier and Type | Field and Description |
---|---|
static String |
OID
OID of this control.
|
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.
|
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() |
equals, getCriticality, getOID
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCriticality, getOID
public static final String OID
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 int hashCode()
AbstractControl
hashCode
in class AbstractControl
public void decode(byte[] berValue)
ResponseControl
decode
in interface ResponseControl
berValue
- BER encoded response controlCopyright © 2024. All rights reserved.