[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting ...
Ron Sigal
ron_sigal at yahoo.com
Mon Jul 30 22:25:44 EDT 2007
User: rsigal
Date: 07/07/30 22:25:44
Modified: src/main/org/jboss/remoting Tag:
remoting_2_2_0_Alpha7_JBREM-781 ServerInvoker.java
Log:
JBREM-781: Responds to "$GET_CLIENT_LOCAL_ADDRESS$" request.
Revision Changes Path
No revision
No revision
1.52.2.26.2.1 +7 -1 JBossRemoting/src/main/org/jboss/remoting/ServerInvoker.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ServerInvoker.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/ServerInvoker.java,v
retrieving revision 1.52.2.26
retrieving revision 1.52.2.26.2.1
diff -u -b -r1.52.2.26 -r1.52.2.26.2.1
--- ServerInvoker.java 31 Jan 2007 13:37:04 -0000 1.52.2.26
+++ ServerInvoker.java 31 Jul 2007 02:25:44 -0000 1.52.2.26.2.1
@@ -65,7 +65,7 @@
* @author <a href="mailto:tom.elrod at jboss.com">Tom Elrod</a>
* @author <a href="mailto:ovidiu at jboss.org">Ovidiu Feodorov</a>
*
- * @version $Revision: 1.52.2.26 $
+ * @version $Revision: 1.52.2.26.2.1 $
*/
public abstract class ServerInvoker extends AbstractInvoker implements ServerInvokerMBean
{
@@ -645,6 +645,12 @@
return ir;
}
+ if ("$GET_CLIENT_LOCAL_ADDRESS$".equals(param))
+ {
+ // must be handled upstream by socket-specific code, return a null response here
+ return new InvocationResponse(invocation.getSessionId(), null, false, null);
+ }
+
if ("$DISCONNECT$".equals(param))
{
if (leaseManagement)
More information about the jboss-cvs-commits
mailing list