org.apache.directory.shared.ldap.message.control.replication
Class SyncInfoValueNewCookieControl
java.lang.Object
org.apache.directory.shared.ldap.message.control.InternalAbstractControl
org.apache.directory.shared.ldap.message.control.replication.SyncInfoValueNewCookieControl
- All Implemented Interfaces:
- java.io.Serializable, javax.naming.ldap.Control, SyncInfoValueControl, InternalControl
public class SyncInfoValueNewCookieControl
- extends InternalAbstractControl
- implements SyncInfoValueControl
This class implement the SyncInfoValue interface, and represent the first
choice : newcookie.
The structure for this control is :
syncInfoValue ::= CHOICE {
newcookie [0] syncCookie,
...
}
- 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 |
SyncInfoValueNewCookieControl
public SyncInfoValueNewCookieControl()
getCookie
public byte[] getCookie()
-
- Specified by:
getCookie in interface SyncInfoValueControl
- Returns:
- the cookie
setCookie
public void setCookie(byte[] newCookie)
-
- Specified by:
setCookie in interface SyncInfoValueControl
- Parameters:
newCookie - the cookie 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.