Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

org.objectweb.cjdbc.common.net.RMISSLClientSocketFactory Class Reference

List of all members.

Public Member Functions

Socket createSocket (String host, int port) throws IOException
boolean equals (Object obj)
int hashCode ()

Detailed Description

This class defines a RMISSLClientSocketFactory

Author:
Marc Wick
Version:
1.0

Definition at line 41 of file RMISSLClientSocketFactory.java.


Member Function Documentation

Socket org.objectweb.cjdbc.common.net.RMISSLClientSocketFactory.createSocket String  host,
int  port
throws IOException
 

See also:
java.rmi.server.RMIClientSocketFactory#createSocket(java.lang.String, int)

Definition at line 51 of file RMISSLClientSocketFactory.java.

00052   {
00053     SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(
00054         host, port);
00055     if (System.getProperty("javax.net.ssl.trustStore") != null)
00056       socket.setNeedClientAuth(true);
00057 
00058     return socket;
00059   }

boolean org.objectweb.cjdbc.common.net.RMISSLClientSocketFactory.equals Object  obj  ) 
 

See also:
java.lang.Object#equals(java.lang.Object)
http://developer.java.sun.com/developer/bugParade/bugs/4492317.html

Definition at line 66 of file RMISSLClientSocketFactory.java.

00067   {
00068     if (obj == null)
00069       return false;
00070     if (this == obj)
00071       return true;
00072     return getClass() == obj.getClass();
00073   }

int org.objectweb.cjdbc.common.net.RMISSLClientSocketFactory.hashCode  ) 
 

See also:
java.lang.Object#hashCode()
http://developer.java.sun.com/developer/bugParade/bugs/4492317.html

Definition at line 80 of file RMISSLClientSocketFactory.java.

00081   {
00082     return 13;
00083   }


The documentation for this class was generated from the following file:
Generated on Mon Apr 11 22:02:02 2005 for C-JDBC by  doxygen 1.3.9.1