Class FakeModdnOperation


  • public class FakeModdnOperation
    extends FakeOperation
    This class if used to build fake MODDN Operation from the historical information that stay in the entry in the database. This is useful when a LDAP server can't find a LDAP server that has already seen all its changes and therefore need to retransmit them.
    • Constructor Detail

      • FakeModdnOperation

        public FakeModdnOperation​(CSN csn,
                                  Entry entry)
        Creates a new FakeModdnOperation.
        Parameters:
        csn - The CSN when the entry was last renamed.
        entry - The entry that the MODDN operation will rename.
    • Method Detail

      • generateMessage

        public ReplicationMsg generateMessage()
        Generate a ReplicationMsg from this fake operation. The ReplicationMsg is used to send the informations about this operation to the other servers.
        Specified by:
        generateMessage in class FakeOperation
        Returns:
        A ReplicationMsg that can be used to send information about this operation to remote servers.