From 15200804c06b26016c515617700a46bf5badb6ca Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Thu, 28 May 2009 06:38:25 +0000
Subject: [PATCH] Fix for 4015 : wrong error messages when replication heart-beat fails
---
opends/src/server/org/opends/server/replication/protocol/ProtocolSession.java | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 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 0bc3382..6aace54 100644
--- a/opends/src/server/org/opends/server/replication/protocol/ProtocolSession.java
+++ b/opends/src/server/org/opends/server/replication/protocol/ProtocolSession.java
@@ -22,7 +22,7 @@
* CDDL HEADER END
*
*
- * Copyright 2006-2008 Sun Microsystems, Inc.
+ * Copyright 2006-2009 Sun Microsystems, Inc.
*/
package org.opends.server.replication.protocol;
@@ -147,4 +147,13 @@
* @return The timestamp in milliseconds of the last message received.
*/
public abstract long getLastReceiveTime();
+
+ /**
+ * This methods allows to determine if the session close was initiated
+ * on this ProtocolSession.
+ *
+ * @return A boolean allowing to determine if the session close was initiated
+ * on this ProtocolSession.
+ */
+ public abstract boolean closeInitiated();
}
--
Gitblit v1.10.0