[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport ...
Tom Elrod
tom.elrod at jboss.com
Thu Nov 9 15:33:58 EST 2006
User: telrod
Date: 06/11/09 15:33:58
Modified: src/main/org/jboss/remoting/transport Tag: remoting_2_x
ClientInvoker.java
Log:
JBREM-622 - fixed problem with having same callback handler registered multiple times.
Revision Changes Path
No revision
No revision
1.7.2.1 +11 -1 JBossRemoting/src/main/org/jboss/remoting/transport/ClientInvoker.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ClientInvoker.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/ClientInvoker.java,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -u -b -r1.7 -r1.7.2.1
--- ClientInvoker.java 20 Sep 2006 04:22:25 -0000 1.7
+++ ClientInvoker.java 9 Nov 2006 20:33:58 -0000 1.7.2.1
@@ -26,11 +26,13 @@
import org.jboss.remoting.InvocationRequest;
import org.jboss.remoting.Invoker;
import org.jboss.remoting.InvokerLocator;
+import org.jboss.remoting.callback.InvokerCallbackHandler;
import org.jboss.remoting.marshal.Marshaller;
import org.jboss.remoting.marshal.UnMarshaller;
import javax.net.SocketFactory;
import java.util.Map;
+import java.util.List;
/**
* Interface to be used for calling on all the different invoker types (LocalClientInvoker
@@ -48,8 +50,9 @@
* if desired.
*
* @param locator
+ * @return id for callback handler and locator combination
*/
- public void addClientLocator(String listenerId, InvokerLocator locator);
+ public String addClientLocator(InvokerCallbackHandler callbackhandler, InvokerLocator locator);
/**
* Gets the client locator. This locator will be used by the server side
@@ -60,6 +63,13 @@
public InvokerLocator getClientLocator(String listenerId);
/**
+ * Gets list of AbstractInvoker.CallbackLocatorHolder containing listener id and locator
+ * @param handler
+ * @return
+ */
+ public List getClientLocators(InvokerCallbackHandler handler);
+
+ /**
* Gets SocketFactory used to connect to ServerInvoker.
*
* @return
More information about the jboss-cvs-commits
mailing list