CVS update: JGroups/src/org/jgroups/protocols STOMP.java
"Bela Ban" <[email protected]> Mon, 1 Nov 2010 07:40:10 +0000
| Newsgroups | gmane.comp.java.javagroups.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: belaban
Date: 10/11/01 07:40:10
Modified: src/org/jgroups/protocols STOMP.java
Log:
ns
Revision Changes Path
1.25 +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.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- STOMP.java 30 Oct 2010 11:08:30 -0000 1.24
+++ STOMP.java 1 Nov 2010 07:40:10 -0000 1.25
@@ -26,7 +26,7 @@
* todo: add PING to test health of client connections
* <p/>
* @author Bela Ban
- * @version $Id: STOMP.java,v 1.24 2010/10/30 11:08:30 belaban Exp $
+ * @version $Id: STOMP.java,v 1.25 2010/11/01 07:40:10 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