User: starksm 
  Date: 02/04/09 11:06:01

  Modified:    src/main/org/jboss/mq/il/jvm Tag: Branch_2_4
                        JVMClientIL.java JVMServerIL.java
  Log:
  Integrate connection ping patch
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.2   +19 -2     jbossmq/src/main/org/jboss/mq/il/jvm/JVMClientIL.java
  
  Index: JVMClientIL.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbossmq/src/main/org/jboss/mq/il/jvm/JVMClientIL.java,v
  retrieving revision 1.2.2.1
  retrieving revision 1.2.2.2
  diff -u -r1.2.2.1 -r1.2.2.2
  --- JVMClientIL.java  23 Aug 2001 03:57:10 -0000      1.2.2.1
  +++ JVMClientIL.java  9 Apr 2002 18:06:01 -0000       1.2.2.2
  @@ -20,9 +20,10 @@
    * @author     Norbert Lataille ([EMAIL PROTECTED])
    * @author     Hiram Chirino ([EMAIL PROTECTED])
    * @created    August 16, 2001
  - * @version    $Revision: 1.2.2.1 $
  + * @version    $Revision: 1.2.2.2 $
    */
  -public class JVMClientIL implements ClientIL {
  +public class JVMClientIL implements ClientIL
  +{
   
      // A reference to the connection
      Connection       connection;
  @@ -56,5 +57,21 @@
            throw new IllegalStateException( "The client IL is stopped" );
         }
         connection.asynchDeliver( messages );
  +   }
  +  
  +   /**
  +    * pong method comment.
  +    *
  +    * @param serverTime                 Description of Parameter
  +    * @exception IllegalStateException  Description of Exception
  +    */
  +   public void pong(long serverTime)
  +          throws IllegalStateException
  +   {
  +      if (stopped)
  +      {
  +         throw new IllegalStateException("The client IL is stopped");
  +      }
  +      connection.asynchPong(serverTime);
      }
   }
  
  
  
  1.2.2.2   +14 -1     jbossmq/src/main/org/jboss/mq/il/jvm/JVMServerIL.java
  
  Index: JVMServerIL.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbossmq/src/main/org/jboss/mq/il/jvm/JVMServerIL.java,v
  retrieving revision 1.2.2.1
  retrieving revision 1.2.2.2
  diff -u -r1.2.2.1 -r1.2.2.2
  --- JVMServerIL.java  23 Aug 2001 03:57:10 -0000      1.2.2.1
  +++ JVMServerIL.java  9 Apr 2002 18:06:01 -0000       1.2.2.2
  @@ -28,7 +28,7 @@
    * @author     Hiram Chirino ([EMAIL PROTECTED])
    * @author     Norbert Lataille ([EMAIL PROTECTED])
    * @created    August 16, 2001
  - * @version    $Revision: 1.2.2.1 $
  + * @version    $Revision: 1.2.2.2 $
    */
   public class JVMServerIL implements org.jboss.mq.il.ServerIL {
      //The server implementation
  @@ -141,5 +141,18 @@
      public void transact( org.jboss.mq.ConnectionToken dc, TransactionRequest t )
         throws JMSException {
         server.transact( dc, t );
  +   }
  +
  +   /**
  +    * ping method comment.
  +    *
  +    * @param dc                Description of Parameter
  +    * @param clientTime        Description of Parameter
  +    * @exception JMSException  Description of Exception
  +    */
  +   public void ping(org.jboss.mq.ConnectionToken dc, long clientTime)
  +          throws JMSException
  +   {
  +      server.ping(dc, clientTime);
      }
   }
  
  
  

_______________________________________________________________

Sponsored by:
Looking for hip toys and fun scwag.  There is no better place
then the good friends at ThinkGeek. http://www.ThinkGeek.com/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to