From: Tom E. <tom...@jb...> - 2006-03-20 22:05:57
|
User: telrod Date: 06/03/20 17:05:55 Modified: src/main/org/jboss/remoting/util/socket RemotingSSLSocketFactory.java Log: JBREM-330 - finished createSocket() impl Revision Changes Path 1.3 +24 -4 JBossRemoting/src/main/org/jboss/remoting/util/socket/RemotingSSLSocketFactory.java (In the diff below, changes in quantity of whitespace are not shown.) Index: RemotingSSLSocketFactory.java =================================================================== RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/util/socket/RemotingSSLSocketFactory.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -b -r1.2 -r1.3 --- RemotingSSLSocketFactory.java 20 Mar 2006 22:03:09 -0000 1.2 +++ RemotingSSLSocketFactory.java 20 Mar 2006 22:05:55 -0000 1.3 @@ -643,21 +643,41 @@ public Socket createSocket(String string, int i) throws IOException, UnknownHostException { - return null; //TODO: -TME Implement + if(socketFactory == null) + { + init(); + } + + return socketFactory.createSocket(string, i); } public Socket createSocket(InetAddress inetAddress, int i) throws IOException { - return null; //TODO: -TME Implement + if(socketFactory == null) + { + init(); + } + + return socketFactory.createSocket(inetAddress, i); } public Socket createSocket(String string, int i, InetAddress inetAddress, int i1) throws IOException, UnknownHostException { - return null; //TODO: -TME Implement + if(socketFactory == null) + { + init(); + } + + return socketFactory.createSocket(string, i, inetAddress, i1); } public Socket createSocket(InetAddress inetAddress, int i, InetAddress inetAddress1, int i1) throws IOException { - return null; //TODO: -TME Implement + if(socketFactory == null) + { + init(); + } + + return socketFactory.createSocket(inetAddress, i, inetAddress1, i1); } } \ No newline at end of file |