From 0bee1ee3a776af367c685d042155cd43ae71deab Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Mon, 13 Nov 2006 08:31:12 +0000
Subject: [PATCH] Fix for 982 : reorganize synchronization code :
---
opendj-sdk/opends/src/server/org/opends/server/synchronization/protocol/SynchronizationMessage.java | 13 ++-----------
1 files changed, 2 insertions(+), 11 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/synchronization/SynchronizationMessage.java b/opendj-sdk/opends/src/server/org/opends/server/synchronization/protocol/SynchronizationMessage.java
similarity index 91%
rename from opendj-sdk/opends/src/server/org/opends/server/synchronization/SynchronizationMessage.java
rename to opendj-sdk/opends/src/server/org/opends/server/synchronization/protocol/SynchronizationMessage.java
index 800bf39..77dcc1b 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/synchronization/SynchronizationMessage.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/synchronization/protocol/SynchronizationMessage.java
@@ -24,9 +24,8 @@
*
* Portions Copyright 2006 Sun Microsystems, Inc.
*/
-package org.opends.server.synchronization;
+package org.opends.server.synchronization.protocol;
-import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.zip.DataFormatException;
@@ -37,7 +36,7 @@
* When extending this class one should also create a new MSG_TYPE
* and should update the generateMsg() method.
*/
-public abstract class SynchronizationMessage implements Serializable
+public abstract class SynchronizationMessage
{
static final byte MSG_TYPE_MODIFY_REQUEST = 1;
static final byte MSG_TYPE_ADD_REQUEST = 2;
@@ -49,14 +48,6 @@
static final byte MSG_TYPE_WINDOW = 8;
/**
- * Do the processing necessary when the message is received.
- *
- * @param domain The Synchronization domain where the messages was received.
- * @return an UpdateMessage if the processing result is an UpdateMessage.
- */
- public abstract UpdateMessage processReceive(SynchronizationDomain domain);
-
- /**
* Return the byte[] representation of this message.
* Depending on the message type, the first byte of the byte[] must be.
* MSG_TYPE_MODIFY_REQUEST
--
Gitblit v1.10.0