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

  Modified:    src/main/org/jboss/mq/il/rmi Tag: Branch_2_4
                        RMIClientIL.java RMIClientILRemote.java
                        RMIServerIL.java RMIServerILRemote.java
  Log:
  Integrate connection ping patch
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.2   +17 -1     jbossmq/src/main/org/jboss/mq/il/rmi/RMIClientIL.java
  
  Index: RMIClientIL.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbossmq/src/main/org/jboss/mq/il/rmi/RMIClientIL.java,v
  retrieving revision 1.2.2.1
  retrieving revision 1.2.2.2
  diff -u -r1.2.2.1 -r1.2.2.2
  --- RMIClientIL.java  23 Aug 2001 03:57:10 -0000      1.2.2.1
  +++ RMIClientIL.java  9 Apr 2002 18:06:02 -0000       1.2.2.2
  @@ -20,7 +20,7 @@
    * @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 RMIClientIL extends java.rmi.server.UnicastRemoteObject implements 
RMIClientILRemote {
   
  @@ -57,5 +57,21 @@
            throw new IllegalStateException( "The client IL is stopped" );
         }
         connection.asynchDeliver( messages );
  +   }
  +
  +   /**
  +    * pong method comment.
  +    *
  +    * @param serverTime        Description of Parameter
  +    * @exception JMSException  Description of Exception
  +    */
  +   public void pong(long serverTime)
  +          throws JMSException
  +   {
  +      if (stopped)
  +      {
  +         throw new IllegalStateException("The client IL is stopped");
  +      }
  +      connection.asynchPong(serverTime);
      }
   }
  
  
  
  1.2.2.2   +10 -1     jbossmq/src/main/org/jboss/mq/il/rmi/RMIClientILRemote.java
  
  Index: RMIClientILRemote.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbossmq/src/main/org/jboss/mq/il/rmi/RMIClientILRemote.java,v
  retrieving revision 1.2.2.1
  retrieving revision 1.2.2.2
  diff -u -r1.2.2.1 -r1.2.2.2
  --- RMIClientILRemote.java    23 Aug 2001 03:57:10 -0000      1.2.2.1
  +++ RMIClientILRemote.java    9 Apr 2002 18:06:02 -0000       1.2.2.2
  @@ -20,7 +20,7 @@
    * @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 interface RMIClientILRemote extends ClientIL, java.rmi.Remote {
   
  @@ -33,4 +33,13 @@
   
      public void receive( ReceiveRequest messages[] )
         throws Exception;
  +
  +   /**
  +    * #Description of the Method
  +    *
  +    * @param serverTime     Description of Parameter
  +    * @exception Exception  Description of Exception
  +    */
  +   public void pong(long serverTime)
  +          throws Exception;
   }
  
  
  
  1.2.2.2   +14 -1     jbossmq/src/main/org/jboss/mq/il/rmi/RMIServerIL.java
  
  Index: RMIServerIL.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbossmq/src/main/org/jboss/mq/il/rmi/RMIServerIL.java,v
  retrieving revision 1.2.2.1
  retrieving revision 1.2.2.2
  diff -u -r1.2.2.1 -r1.2.2.2
  --- RMIServerIL.java  23 Aug 2001 03:57:10 -0000      1.2.2.1
  +++ RMIServerIL.java  9 Apr 2002 18:06:02 -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 RMIServerIL extends java.rmi.server.UnicastRemoteObject implements 
RMIServerILRemote {
   
  @@ -143,5 +143,18 @@
      public void transact( org.jboss.mq.ConnectionToken dc, TransactionRequest t )
         throws JMSException {
         server.transact( dc, t );
  +   }
  +
  +   /**
  +    * #Description of the Method
  +    *
  +    * @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);
      }
   }
  
  
  
  1.2.2.2   +2 -2      jbossmq/src/main/org/jboss/mq/il/rmi/RMIServerILRemote.java
  
  Index: RMIServerILRemote.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbossmq/src/main/org/jboss/mq/il/rmi/RMIServerILRemote.java,v
  retrieving revision 1.2.2.1
  retrieving revision 1.2.2.2
  diff -u -r1.2.2.1 -r1.2.2.2
  --- RMIServerILRemote.java    23 Aug 2001 03:57:10 -0000      1.2.2.1
  +++ RMIServerILRemote.java    9 Apr 2002 18:06:02 -0000       1.2.2.2
  @@ -27,7 +27,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 interface RMIServerILRemote extends ServerIL, java.rmi.Remote {
   
  @@ -52,5 +52,5 @@
   //   public String checkUser(String userName, String password)  throws Exception;
   //   public void subscribe(ConnectionToken dc, org.jboss.mq.Subscription s)  throws 
Exception;
   //   public void transact(org.jboss.mq.ConnectionToken dc, TransactionRequest t)  
throws Exception;
  -
  +//  public void ping(org.jboss.mq.ConnectionToken dc, long clientTime) throws 
Exception;
   }
  
  
  

_______________________________________________________________

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