|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.control.AbstractControl
org.ldaptive.control.SyncDoneControl
public class SyncDoneControl
Response control for ldap content synchronization. See RFC 4533. Control is defined as:
syncDoneValue ::= SEQUENCE {
cookie syncCookie OPTIONAL,
refreshDeletes BOOLEAN DEFAULT FALSE
}
| Field Summary | |
|---|---|
static String |
OID
OID of this control. |
| Fields inherited from class org.ldaptive.control.AbstractControl |
|---|
logger |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class org.ldaptive.control.AbstractControl |
|---|
getCriticality, getOID |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.ldaptive.control.Control |
|---|
getCriticality, getOID |
| Field Detail |
|---|
public static final String OID
| Constructor Detail |
|---|
public SyncDoneControl()
public SyncDoneControl(boolean critical)
critical - whether this control is criticalpublic SyncDoneControl(byte[] value)
value - sync done cookie
public SyncDoneControl(byte[] value,
boolean critical)
value - sync done cookiecritical - whether this control is critical
public SyncDoneControl(byte[] value,
boolean refresh,
boolean critical)
value - sync done cookierefresh - whether to refresh deletescritical - whether this control is critical| Method Detail |
|---|
public 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()
AbstractControl
hashCode in class AbstractControlpublic String toString()
toString in class Objectpublic void decode(byte[] berValue)
decode in interface ResponseControlberValue - BER encoded response control
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||