[prev in list] [next in list] [prev in thread] [next in thread]
List: jboss-cvs-commits
Subject: [jboss-cvs] jboss-remoting/src/main/org/jboss/remoting Client.java
From: Thomas Diesler <tdiesler () users ! sourceforge ! net>
Date: 2004-11-30 20:51:44
Message-ID: E1CZEyO-0008CC-VC () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]
User: tdiesler
Date: 04/11/30 12:51:44
Modified: src/main/org/jboss/remoting Client.java
Log:
Exposes setUnMarshaller(...) in the same way as setMarshaller(...)
Revision Changes Path
1.14 +10 -1 jboss-remoting/src/main/org/jboss/remoting/Client.java
Index: Client.java
===================================================================
RCS file: /cvsroot/jboss/jboss-remoting/src/main/org/jboss/remoting/Client.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- Client.java 4 Nov 2004 21:46:20 -0000 1.13
+++ Client.java 30 Nov 2004 20:51:44 -0000 1.14
@@ -15,6 +15,7 @@
import org.jboss.remoting.invocation.InternalInvocation;
import org.jboss.remoting.invocation.OnewayInvocation;
import org.jboss.remoting.marshal.Marshaller;
+import org.jboss.remoting.marshal.UnMarshaller;
import org.jboss.remoting.transport.ClientInvoker;
import org.jboss.util.id.GUID;
@@ -26,7 +27,7 @@
*
* @author <a href="mailto:jhaynie@vocalocity.net">Jeff Haynie</a>
* @author <a href="mailto:telrod@e2technologies.net">Tom Elrod</a>
- * @version $Revision: 1.13 $
+ * @version $Revision: 1.14 $
*/
public class Client
{
@@ -349,4 +350,12 @@
invoker.setMarshaller(marshaller);
}
}
+
+ public void setUnMarshaller(UnMarshaller unmarshaller)
+ {
+ if (invoker != null && unmarshaller != null)
+ {
+ invoker.setUnMarshaller(unmarshaller);
+ }
+ }
}
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
jboss-cvs-commits mailing list
jboss-cvs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-cvs-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic