From 26ff1f0755680cbce7b5bdb136750b2b1bc9e4ed Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Fri, 10 Nov 2006 08:05:56 +0000
Subject: [PATCH] issue 508 These changes implement a window mechanism in the sycnhronization protocol.
---
opends/src/server/org/opends/server/synchronization/SynchronizationMessage.java | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/synchronization/SynchronizationMessage.java b/opends/src/server/org/opends/server/synchronization/SynchronizationMessage.java
index bc9e663..800bf39 100644
--- a/opends/src/server/org/opends/server/synchronization/SynchronizationMessage.java
+++ b/opends/src/server/org/opends/server/synchronization/SynchronizationMessage.java
@@ -46,6 +46,7 @@
static final byte MSG_TYPE_ACK = 5;
static final byte MSG_TYPE_SERVER_START = 6;
static final byte MSG_TYPE_CHANGELOG_START = 7;
+ static final byte MSG_TYPE_WINDOW = 8;
/**
* Do the processing necessary when the message is received.
@@ -106,6 +107,9 @@
case MSG_TYPE_CHANGELOG_START:
msg = new ChangelogStartMessage(buffer);
break;
+ case MSG_TYPE_WINDOW:
+ msg = new WindowMessage(buffer);
+ break;
default:
throw new DataFormatException("received message with unknown type");
}
--
Gitblit v1.10.0