From b677ba1f966ac76de8a3dccd35c5a4186a03c18a Mon Sep 17 00:00:00 2001
From: pgamba <pgamba@localhost>
Date: Thu, 22 Oct 2009 15:21:59 +0000
Subject: [PATCH] Partial fix of #4312 Remove unnessary IOException messages when handler is stopping

---
 opends/src/server/org/opends/server/replication/server/ServerHandler.java |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/server/ServerHandler.java b/opends/src/server/org/opends/server/replication/server/ServerHandler.java
index 784f01b..22bb668 100644
--- a/opends/src/server/org/opends/server/replication/server/ServerHandler.java
+++ b/opends/src/server/org/opends/server/replication/server/ServerHandler.java
@@ -342,6 +342,15 @@
   }
 
   /**
+   * Returns the shutdown flag.
+   * @return The shutdown flag value.
+   */
+  public boolean shuttingDown()
+  {
+    return shuttingDown.get();
+  }
+
+  /**
    * Finalize the initialization, create reader, writer, heartbeat system
    * and monitoring system.
    * @throws DirectoryException When an exception is raised.

--
Gitblit v1.10.0