[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting ...

Ron Sigal ron_sigal at yahoo.com
Sat Jun 30 03:32:16 EDT 2007


  User: rsigal  
  Date: 07/06/30 03:32:16

  Modified:    src/main/org/jboss/remoting  Tag: remoting_2_x Client.java
  Log:
  JBREM-641:  Modifed javadoc for invokeOneway().
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.53.2.36 +6 -8      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.35
  retrieving revision 1.53.2.36
  diff -u -b -r1.53.2.35 -r1.53.2.36
  --- Client.java	23 Jun 2007 05:07:34 -0000	1.53.2.35
  +++ Client.java	30 Jun 2007 07:32:16 -0000	1.53.2.36
  @@ -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.35 $
  + * @version $Revision: 1.53.2.36 $
    */
   public class Client implements Externalizable
   {
  @@ -555,16 +555,14 @@
       * <b>
       * This is done one of two ways. The first is to pass true as the clientSide param.  This will
       * cause the execution of the remote call to be excuted in a new thread on the client side and
  -    * will return the calling thread before making call to server side.  Although, this is optimal
  -    * for performance, will not know about any problems contacting server.
  +    * will return the calling thread before making call to server side.
       * <p/>
       * The second, is to pass false as the clientSide param. This will allow the current calling
       * thread to make the call to the remote server, at which point, the server side processing of
  -    * the thread will be executed on the remote server in a new executing thread and the client
  -    * thread will return.  This is a little slower, but will know that the call made it to the
  -    * server.
  -    *
  -    * NOTE:  false case is not accurate.
  +    * the thread will be executed on the remote server in a new executing thread.
  +    * <p>
  +    * NOTE:  The treatment of server side oneway invocations may vary with the transport.  The
  +    * client side transport is not required to wait for a reply from the server.
       */
      public void invokeOneway(final Object param, final Map sendPayload, boolean clientSide)
         throws Throwable
  
  
  



More information about the jboss-cvs-commits mailing list