User: starksm
Date: 02/04/09 11:06:01
Modified: src/main/org/jboss/mq/il Tag: Branch_2_4 ClientIL.java
ServerIL.java
Log:
Integrate connection ping patch
Revision Changes Path
No revision
No revision
1.2.2.2 +10 -3 jbossmq/src/main/org/jboss/mq/il/ClientIL.java
Index: ClientIL.java
===================================================================
RCS file: /cvsroot/jboss/jbossmq/src/main/org/jboss/mq/il/ClientIL.java,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -u -r1.2.2.1 -r1.2.2.2
--- ClientIL.java 23 Aug 2001 03:57:10 -0000 1.2.2.1
+++ ClientIL.java 9 Apr 2002 18:06:01 -0000 1.2.2.2
@@ -16,10 +16,10 @@
* @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 ClientIL {
-
+public interface ClientIL
+{
//One TemporaryDestination has been deleted
public void deleteTemporaryDestination( SpyDestination dest )
throws Exception;
@@ -32,4 +32,11 @@
public void receive( ReceiveRequest messages[] )
throws Exception;
+ /**
+ * Response to a ping sent by a client.
+ *
+ * @param serverTime Description of Parameter
+ * @exception Exception Description of Exception
+ */
+ public void pong(long serverTime) throws Exception;
}
1.2.2.2 +13 -2 jbossmq/src/main/org/jboss/mq/il/ServerIL.java
Index: ServerIL.java
===================================================================
RCS file: /cvsroot/jboss/jbossmq/src/main/org/jboss/mq/il/ServerIL.java,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -u -r1.2.2.1 -r1.2.2.2
--- ServerIL.java 23 Aug 2001 03:57:10 -0000 1.2.2.1
+++ ServerIL.java 9 Apr 2002 18:06:01 -0000 1.2.2.2
@@ -26,9 +26,10 @@
* @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 ServerIL {
+public interface ServerIL
+{
public String getID()
throws Exception;
@@ -99,4 +100,14 @@
*/
void subscribe( org.jboss.mq.ConnectionToken dc, org.jboss.mq.Subscription s )
throws java.lang.Exception;
+
+ /**
+ * Ping the server.
+ *
+ * @param dc Description of Parameter
+ * @param clientTime Description of Parameter
+ * @exception Exception Description of Exception
+ */
+ public void ping(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