From 9e2b4f600d6887b79b1c7f8657d60b7ba7b6d479 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Tue, 08 Dec 2009 11:41:02 +0000
Subject: [PATCH] Add Connection.isClosed, improve AsynchronousConnection.isClosed Javadoc, add comments to ConnectionPool and move it to top-level package with other connection factory decorators.
---
sdk/src/org/opends/sdk/Connection.java | 30 +++++++++++++++---------------
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/sdk/src/org/opends/sdk/Connection.java b/sdk/src/org/opends/sdk/Connection.java
index 14796ea..9aa99ea 100644
--- a/sdk/src/org/opends/sdk/Connection.java
+++ b/sdk/src/org/opends/sdk/Connection.java
@@ -38,7 +38,6 @@
-
/**
* A synchronous connection with a Directory Server over which read and
* update operations may be performed. See RFC 4511 for the LDAPv3
@@ -307,7 +306,8 @@
* @throws NullPointerException
* If {@code request} was {@code null}.
*/
- void close(UnbindRequest request, String reason) throws NullPointerException;
+ void close(UnbindRequest request, String reason)
+ throws NullPointerException;
@@ -513,19 +513,19 @@
- // /**
- // * Indicates whether or not this connection has been explicitly
- // closed
- // * by calling {@code close}. This method will not return {@code
- // true}
- // * if a fatal error has occurred on the connection unless {@code
- // * close} has been called.
- // *
- // * @return {@code true} if this connection has been explicitly
- // closed
- // * by calling {@code close}, or {@code false} otherwise.
- // */
- // boolean isClosed();
+ /**
+ * Indicates whether or not this connection has been explicitly closed
+ * by calling {@code close}. This method will not return {@code true}
+ * if a fatal error has occurred on the connection unless {@code
+ * close} has been called.
+ *
+ * @return {@code true} if this connection has been explicitly closed
+ * by calling {@code close}, or {@code false} otherwise.
+ */
+ boolean isClosed();
+
+
+
//
//
//
--
Gitblit v1.10.0