From 35051036b392cf1eaa0b9ca7499b248985d40b48 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Thu, 27 Feb 2014 16:44:21 +0000
Subject: [PATCH] Additional fix for OPENDJ-1197: API is lacking functionality to specify TCP connect timeout

---
 opendj-sdk/opendj-core/src/main/java/org/forgerock/opendj/ldap/TimeoutEventListener.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/opendj-sdk/opendj-core/src/main/java/org/forgerock/opendj/ldap/TimeoutEventListener.java b/opendj-sdk/opendj-core/src/main/java/org/forgerock/opendj/ldap/TimeoutEventListener.java
index d67b385..640fd1a 100644
--- a/opendj-sdk/opendj-core/src/main/java/org/forgerock/opendj/ldap/TimeoutEventListener.java
+++ b/opendj-sdk/opendj-core/src/main/java/org/forgerock/opendj/ldap/TimeoutEventListener.java
@@ -20,8 +20,7 @@
  *
  * CDDL HEADER END
  *
- *
- *      Copyright 2013 ForgeRock AS.
+ *      Copyright 2013-2014 ForgeRock AS.
  */
 package org.forgerock.opendj.ldap;
 
@@ -41,15 +40,16 @@
      * Handle a timeout event.
      *
      * @param currentTime
-     *            time to use as current time for any check
-     * @return the delay to wait before next timeout callback in milliseconds
+     *            Time to use as current time for any check.
+     * @return The delay to wait before next timeout callback in milliseconds,
+     *         or zero if this listener should no longer be notified.
      */
     long handleTimeout(final long currentTime);
 
     /**
      * Returns the timeout for this listener.
      *
-     * @return the timeout in milliseconds
+     * @return The timeout in milliseconds.
      */
     long getTimeout();
 

--
Gitblit v1.10.0