org.apache.directory.shared.ldap.message.control.replication
Class SyncInfoValueRefreshDeleteControl
java.lang.Object
org.apache.directory.shared.ldap.message.control.InternalAbstractControl
org.apache.directory.shared.ldap.message.control.replication.SyncInfoValueRefreshDeleteControl
- All Implemented Interfaces:
- java.io.Serializable, javax.naming.ldap.Control, SyncInfoValueControl, InternalControl
public class SyncInfoValueRefreshDeleteControl
- extends InternalAbstractControl
- implements SyncInfoValueControl
This class implement the SyncInfoValue interface, and represent the second
choice : refreshDelete.
The structure for this control is :
syncInfoValue ::= CHOICE {
...
refreshDelete [1] SEQUENCE {
cookie syncCookie OPTIONAL,
refreshDone BOOLEAN DEFAULT TRUE
},
...
}
- Version:
- $Rev: $
- Author:
- Apache Directory Project
- See Also:
- RFC 4533,
Serialized Form
| Fields inherited from interface javax.naming.ldap.Control |
CRITICAL, NONCRITICAL |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SyncInfoValueRefreshDeleteControl
public SyncInfoValueRefreshDeleteControl()
getCookie
public byte[] getCookie()
-
- Specified by:
getCookie in interface SyncInfoValueControl
- Returns:
- the cookie
setCookie
public void setCookie(byte[] cookie)
-
- Specified by:
setCookie in interface SyncInfoValueControl
- Parameters:
cookie - the cookie to set
isRefreshDone
public boolean isRefreshDone()
- Returns:
- the refreshDone
setRefreshDone
public void setRefreshDone(boolean refreshDone)
- Parameters:
refreshDone - the refreshDone to set
getID
public java.lang.String getID()
- Retrieves the object identifier assigned for the LDAP control.
- Specified by:
getID in interface javax.naming.ldap.Control- Overrides:
getID in class InternalAbstractControl
- Returns:
- The non-null object identifier string.
getEncodedValue
public byte[] getEncodedValue()
-
- Specified by:
getEncodedValue in interface javax.naming.ldap.Control
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.