Interface SyncDoneValue

  • All Superinterfaces:
    Control
    All Known Implementing Classes:
    SyncDoneValueImpl

    public interface SyncDoneValue
    extends Control
    A syncDoneValue object as described in rfc4533 :
     2.4.  Sync Done Control
    
        The Sync Done Control is an LDAP Control [RFC4511] where the
        controlType is the object identifier 1.3.6.1.4.1.4203.1.9.1.3 and the
        controlValue contains a BER-encoded syncDoneValue.  The criticality
        is FALSE (and hence absent).
    
           syncDoneValue ::= SEQUENCE {
               cookie          syncCookie OPTIONAL,
               refreshDeletes  BOOLEAN DEFAULT FALSE
           }
    
        The Sync Done Control is only applicable to the SearchResultDone
        Message.
     
    Author:
    Apache Directory Project
    • Method Detail

      • getCookie

        byte[] getCookie()
        Returns:
        the cookie
      • setCookie

        void setCookie​(byte[] cookie)
        Parameters:
        cookie - cookie to be set
      • isRefreshDeletes

        boolean isRefreshDeletes()
        Returns:
        true, if refreshDeletes flag is set, false otherwise
      • setRefreshDeletes

        void setRefreshDeletes​(boolean refreshDeletes)
        Parameters:
        refreshDeletes - set the refreshDeletes flag