From 5349c97806bb0a00038d8dc3dee4254fad187649 Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Wed, 25 Apr 2007 16:35:36 +0000
Subject: [PATCH] Second set of renaming for issue 1090 Rename org.opends.server.replication.changelog into org.opends.server.synchronization.changelog Use replication instead of synchronization in many places in the code/comment/file names
---
opends/src/server/org/opends/server/replication/protocol/ProtocolSession.java | 30 +++++++++++++++---------------
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/protocol/ProtocolSession.java b/opends/src/server/org/opends/server/replication/protocol/ProtocolSession.java
index 7cbac4a..36fa680 100644
--- a/opends/src/server/org/opends/server/replication/protocol/ProtocolSession.java
+++ b/opends/src/server/org/opends/server/replication/protocol/ProtocolSession.java
@@ -32,11 +32,11 @@
/**
* The ProtocolSession interface should be implemented by a class that
- * implement the send/reception part of the Multimaster synchronization
+ * implement the send/reception part of the Multi-master replication
* protocol.
*
* This interface is designed to make easy the move from one format
- * of the SynchronizationMessage on the wire to another format.
+ * of the ReplicationMessage on the wire to another format.
*/
public interface ProtocolSession
{
@@ -50,35 +50,35 @@
public abstract void close() throws IOException;
/**
- * This method is called when a SynchronizationMessage must be sent to
+ * This method is called when a ReplicationMessage must be sent to
* the remote entity.
*
* It can be called by several threads and must implement appropriate
- * synchronization (typically, this method or a part of it should be
+ * replication (typically, this method or a part of it should be
* synchronized).
*
- * @param msg The SynchronizationMessage that must be sent.
+ * @param msg The ReplicationMessage that must be sent.
* @throws IOException If an IO error happen during the publish process.
*/
- public abstract void publish(SynchronizationMessage msg)
+ public abstract void publish(ReplicationMessage msg)
throws IOException;
/**
- * Attempt to receive a SynchronizationMessage.
+ * Attempt to receive a ReplicationMessage.
* This method should block the calling thread until a
- * SynchronizationMessage is available or until an error condition.
+ * ReplicationMessage is available or until an error condition.
*
* This method can only be called by a single thread and therefore does not
- * neet to implement any synchronization.
+ * neet to implement any replication.
*
- * @return The SynchronizationMessage that was received.
+ * @return The ReplicationMessage that was received.
* @throws IOException When error happened durin IO process.
* @throws ClassNotFoundException When the data received does extend the
- * SynchronizationMessage class.
+ * ReplicationMessage class.
* @throws DataFormatException When the data received is not formatted as a
- * SynchronizationMessage.
+ * ReplicationMessage.
*/
- public abstract SynchronizationMessage receive()
+ public abstract ReplicationMessage receive()
throws IOException, ClassNotFoundException,
DataFormatException;
@@ -106,7 +106,7 @@
/**
- * Gets the time the last synchronization message was published on this
+ * Gets the time the last replication message was published on this
* session.
* @return The timestamp in milliseconds of the last message published.
*/
@@ -115,7 +115,7 @@
/**
- * Gets the time the last synchronization message was received on this
+ * Gets the time the last replication message was received on this
* session.
* @return The timestamp in milliseconds of the last message received.
*/
--
Gitblit v1.10.0