mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

gbellato
13.31.2006 e07cdcbd253fd366c5002f7368470e0158bfcc2c
opends/src/server/org/opends/server/synchronization/protocol/SynchronizationMessage.java
File was renamed from opends/src/server/org/opends/server/synchronization/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