[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting ...
Ron Sigal
ron_sigal at yahoo.com
Sat Jun 23 01:07:37 EDT 2007
User: rsigal
Date: 07/06/23 01:07:35
Modified: src/main/org/jboss/remoting Tag: remoting_2_x Client.java
Log:
JBREM-641: Added javadoc comment to new getCallbacks() method.
Revision Changes Path
No revision
No revision
1.53.2.35 +9 -1 JBossRemoting/src/main/org/jboss/remoting/Client.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Client.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/Client.java,v
retrieving revision 1.53.2.34
retrieving revision 1.53.2.35
diff -u -b -r1.53.2.34 -r1.53.2.35
--- Client.java 19 Jun 2007 06:05:21 -0000 1.53.2.34
+++ Client.java 23 Jun 2007 05:07:34 -0000 1.53.2.35
@@ -68,7 +68,7 @@
* @author <a href="mailto:telrod at e2technologies.net">Tom Elrod</a>
* @author <a href="mailto:ovidiu at jboss.org">Ovidiu Feodorov</a>
*
- * @version $Revision: 1.53.2.34 $
+ * @version $Revision: 1.53.2.35 $
*/
public class Client implements Externalizable
{
@@ -1141,6 +1141,14 @@
return getCallbacks(callbackHandler, null);
}
+ /**
+ * Gets the callbacks for specified callback handler. The handler is required because an id is
+ * generated for each handler. So if have two callback handlers registered with the same server,
+ * no other way to know for which handler to get the callbacks for.
+ *
+ * The metadata map can be used to set callback blocking mode and blocking timeout
+ * value.
+ */
public List getCallbacks(InvokerCallbackHandler callbackHandler, Map metadata) throws Throwable
{
if (callbackHandler != null)
More information about the jboss-cvs-commits
mailing list