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/SocketSession.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/protocol/SocketSession.java b/opends/src/server/org/opends/server/replication/protocol/SocketSession.java
index 6cd1f89..0c53005 100644
--- a/opends/src/server/org/opends/server/replication/protocol/SocketSession.java
+++ b/opends/src/server/org/opends/server/replication/protocol/SocketSession.java
@@ -35,7 +35,7 @@
/**
* This class Implement a protocol session using a basic socket and relying on
- * the innate encoding/decoding capabilities of the SynchronizationMessage
+ * the innate encoding/decoding capabilities of the ReplicationMessage
* by using the getBytes() and generateMsg() methods of those classes.
*
* TODO : should have some versioning in the packets so that
@@ -89,7 +89,7 @@
/**
* {@inheritDoc}
*/
- public synchronized void publish(SynchronizationMessage msg)
+ public synchronized void publish(ReplicationMessage msg)
throws IOException
{
byte[] buffer = msg.getBytes();
@@ -106,7 +106,7 @@
/**
* {@inheritDoc}
*/
- public SynchronizationMessage receive() throws IOException,
+ public ReplicationMessage receive() throws IOException,
ClassNotFoundException, DataFormatException
{
/* Read the first 8 bytes containing the packet length */
@@ -143,7 +143,7 @@
/* We do not want the heartbeat to close the session when */
/* we are processing a message even a time consuming one. */
lastReceiveTime=0;
- return SynchronizationMessage.generateMsg(buffer);
+ return ReplicationMessage.generateMsg(buffer);
}
catch (OutOfMemoryError e)
{
--
Gitblit v1.10.0