[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport/sslmultiplex ...
Ron Sigal
ron_sigal at yahoo.com
Wed Feb 21 05:41:03 EST 2007
User: rsigal
Date: 07/02/21 05:41:03
Modified: src/main/org/jboss/remoting/transport/sslmultiplex Tag:
remoting_2_x SSLMultiplexClientInvoker.java
Log:
JBREM-598, JBREM-657: Added timeout parameter to createSocket().
Revision Changes Path
No revision
No revision
1.4.2.2 +3 -3 JBossRemoting/src/main/org/jboss/remoting/transport/sslmultiplex/SSLMultiplexClientInvoker.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SSLMultiplexClientInvoker.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/sslmultiplex/SSLMultiplexClientInvoker.java,v
retrieving revision 1.4.2.1
retrieving revision 1.4.2.2
diff -u -b -r1.4.2.1 -r1.4.2.2
--- SSLMultiplexClientInvoker.java 16 Jan 2007 05:58:49 -0000 1.4.2.1
+++ SSLMultiplexClientInvoker.java 21 Feb 2007 10:41:03 -0000 1.4.2.2
@@ -44,7 +44,7 @@
* For more information, see Remoting documentation on labs.jboss.org.
*
* @author <a href="mailto:ron.sigal at jboss.com">Ron Sigal</a>
- * @version $Revision: 1.4.2.1 $
+ * @version $Revision: 1.4.2.2 $
* <p>
* Copyright (c) 2006
* </p>
@@ -112,14 +112,14 @@
}
- protected Socket createSocket(String address, int port) throws IOException
+ protected Socket createSocket(String address, int port, int timeout) throws IOException
{
SocketFactory sf = getSocketFactory();
if (sf == null)
createSocketFactory(configuration);
VirtualSocket socket = new VirtualSocket(configuration);
- socket.connect(getConnectSocketAddress(), getBindSocketAddress(), timeout);
+ socket.connect(getConnectSocketAddress(), getBindSocketAddress(), this.timeout);
return socket;
}
}
More information about the jboss-cvs-commits
mailing list