|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.api.remote.impl.rmi.SSLRMIClientSocketFactory
public class SSLRMIClientSocketFactory
Instances of this class are used by the RMI to obtain SSL client sockets for RMI calls. This class implements RMIClientSocketFactory class.
Field Summary | |
---|---|
static int |
SSL_PROPERTIES_CLIENT_DEFINED
Whether to check for the use of user custom security settings |
static int |
SSL_PROPERTIES_SERVER_DEFINED
if a server is defined and no SSL connection needed, a socket is created without additional initialization |
Constructor Summary | |
---|---|
SSLRMIClientSocketFactory(int aSSLProperties)
Creates SSLRMIClientSocketFactory |
Method Summary | |
---|---|
Socket |
createSocket(String host,
int port)
Creates a client socket connected to the specified host and port if SSLSocketFactory is not initialized |
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one. |
int |
hashCode()
Returns a hash code value for the object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SSL_PROPERTIES_CLIENT_DEFINED
public static final int SSL_PROPERTIES_SERVER_DEFINED
Constructor Detail |
---|
public SSLRMIClientSocketFactory(int aSSLProperties)
aSSLProperties
- Client socket factory SSL propertiesMethod Detail |
---|
public Socket createSocket(String host, int port) throws IOException
SSLSocketFactory
is not initialized
createSocket
in interface RMIClientSocketFactory
host
- the host nameport
- the port name
IOException
- if an I/O error occurs during socket creationpublic boolean equals(Object obj)
equals
in class Object
obj
- the reference object with which to compare.
true
if this object is the same as the obj
argument and they have same SSL properties; false
otherwise.public int hashCode()
For SSLRMIClientSocketFactory
class the hash code is
considered to be equal to the value the value of SSL properties.
hashCode
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |