CVS update: JGroups/src/org/jgroups/protocols STOMP.java
"Bela Ban" <[email protected]> Mon, 1 Nov 2010 07:50:15 +0000
| Newsgroups | gmane.comp.java.javagroups.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: belaban
Date: 10/11/01 07:50:15
Modified: src/org/jgroups/protocols Tag: Branch_JGroups_2_10
STOMP.java
Log:
backported StompChat and StompDraw from head
Revision Changes Path
No revision
No revision
1.23.2.4 +2 -2 JGroups/src/org/jgroups/protocols/STOMP.java
Index: STOMP.java
===================================================================
RCS file: /cvsroot/javagroups/JGroups/src/org/jgroups/protocols/STOMP.java,v
retrieving revision 1.23.2.3
retrieving revision 1.23.2.4
diff -u -r1.23.2.3 -r1.23.2.4
--- STOMP.java 30 Oct 2010 11:07:02 -0000 1.23.2.3
+++ STOMP.java 1 Nov 2010 07:50:15 -0000 1.23.2.4
@@ -26,7 +26,7 @@
* todo: add PING to test health of client connections
* <p/>
* @author Bela Ban
- * @version $Id: STOMP.java,v 1.23.2.3 2010/10/30 11:07:02 belaban Exp $
+ * @version $Id: STOMP.java,v 1.23.2.4 2010/11/01 07:50:15 belaban Exp $
* @since 2.11
*/
@MBean(description="Server side STOPM protocol, STOMP clients can connect to it")
@@ -311,7 +311,7 @@
for(Util.AddressScope scope: Util.AddressScope.values()) {
try {
InetAddress addr=Util.getAddress(scope);
- if(addr != null) return addr.getHostAddress() + ":" + port;
+ if(addr != null) return addr.getHostAddress() + ":" + srv_sock.getLocalPort();
}
catch(SocketException e) {
}
------------------------------------------------------------------------------
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