CVS update: JGroups/src/org/jgroups/client StompConnection.java
"Bela Ban" <[email protected]> Wed, 27 Oct 2010 07:10:14 +0000
| Newsgroups | gmane.comp.java.javagroups.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: belaban
Date: 10/10/27 07:10:14
Modified: src/org/jgroups/client StompConnection.java
Log:
ns
Revision Changes Path
1.5 +4 -1 JGroups/src/org/jgroups/client/StompConnection.java
Index: StompConnection.java
===================================================================
RCS file: /cvsroot/javagroups/JGroups/src/org/jgroups/client/StompConnection.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- StompConnection.java 26 Oct 2010 17:11:33 -0000 1.4
+++ StompConnection.java 27 Oct 2010 07:10:13 -0000 1.5
@@ -27,7 +27,7 @@
* <p/>
* [1] http://stomp.codehaus.org/Protocol
* @author Bela Ban
- * @version $Id: StompConnection.java,v 1.4 2010/10/26 17:11:33 belaban Exp $
+ * @version $Id: StompConnection.java,v 1.5 2010/10/27 07:10:13 belaban Exp $
*/
@Experimental @Unsupported
public class StompConnection implements Runnable {
@@ -365,6 +365,9 @@
conn.send(dest, buf, 0, buf.length);
}
}
+ else if(line.startsWith("disconnect")) {
+ conn.disconnect();
+ }
}
catch(Exception e) {
e.printStackTrace();
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev