From 7b84e53457bce1f0733afa87797afc9928568c52 Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Mon, 09 Oct 2006 14:15:55 +0000
Subject: [PATCH] - Change the synchronization code so that the changelog server can now be used directly through the ChangelogBroker class as a client API.

---
 opendj-sdk/opends/src/server/org/opends/server/synchronization/DeleteMsg.java |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/synchronization/DeleteMsg.java b/opendj-sdk/opends/src/server/org/opends/server/synchronization/DeleteMsg.java
index 3fec9b3..1d288e5 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/synchronization/DeleteMsg.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/synchronization/DeleteMsg.java
@@ -45,6 +45,7 @@
 
   /**
    * Creates a new delete message.
+   *
    * @param op the Operation from which the message must be created.
    */
   public DeleteMsg(DeleteOperation op)
@@ -54,6 +55,19 @@
   }
 
   /**
+   * Creates a new delete message.
+   *
+   * @param dn The dn with which the message must be created.
+   * @param changeNumber The change number with which the message must be
+   *                     created.
+   * @param uid The unique id with which the message must be created.
+   */
+  public DeleteMsg(String dn, ChangeNumber changeNumber, String uid)
+  {
+    super(new DeleteContext(changeNumber, uid), dn);
+  }
+
+  /**
    * Creates a new Add message from a byte[].
    *
    * @param in The byte[] from which the operation must be read.

--
Gitblit v1.10.0