|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.rmi.ssl.SslRMIServerSocketFactory
org.tentackle.db.rmi.CompressedSslServerSocketFactory
public class CompressedSslServerSocketFactory
Zip-compressed server socket factory.
| Constructor Summary | |
|---|---|
CompressedSslServerSocketFactory()
Creates a CompressedServerSocketFactory with default cipher suites, protocols and without client authentication. |
|
CompressedSslServerSocketFactory(String[] enabledCipherSuites,
String[] enabledProtocols,
boolean needClientAuth)
Creates a new instance of CompressedServerSocketFactory. |
|
| Method Summary | |
|---|---|
ServerSocket |
createServerSocket(int port)
Creates a server socket that accepts SSL connections configured according to this factory's SSL socket configuration parameters. |
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one. |
int |
hashCode()
Returns a hash code value for this SslRMIServerSocketFactory. |
| Methods inherited from class javax.rmi.ssl.SslRMIServerSocketFactory |
|---|
getEnabledCipherSuites, getEnabledProtocols, getNeedClientAuth |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompressedSslServerSocketFactory(String[] enabledCipherSuites,
String[] enabledProtocols,
boolean needClientAuth)
enabledCipherSuites - the enabled cipher suites, null for defaultenabledProtocols - the enabled protocols, null for defaultneedClientAuth - true if server request SSL-client-authenticationpublic CompressedSslServerSocketFactory()
| Method Detail |
|---|
public ServerSocket createServerSocket(int port)
throws IOException
javax.rmi.ssl.SslRMIServerSocketFactoryCreates a server socket that accepts SSL connections configured according to this factory's SSL socket configuration parameters.
createServerSocket in interface RMIServerSocketFactorycreateServerSocket in class SslRMIServerSocketFactoryport - the port number
IOException - if an I/O error occurs during server socket
creationpublic int hashCode()
javax.rmi.ssl.SslRMIServerSocketFactoryReturns a hash code value for this
SslRMIServerSocketFactory.
hashCode in class SslRMIServerSocketFactorySslRMIServerSocketFactory.Object.equals(java.lang.Object),
Hashtablepublic boolean equals(Object obj)
javax.rmi.ssl.SslRMIServerSocketFactoryIndicates whether some other object is "equal to" this one.
Two SslRMIServerSocketFactory objects are equal
if they have been constructed with the same SSL socket
configuration parameters.
A subclass should override this method (as well as
SslRMIServerSocketFactory.hashCode()) if it adds instance state that affects
equality.
equals in class SslRMIServerSocketFactoryobj - the reference object with which to compare.
true if this object is the same as the obj
argument; false otherwise.Object.hashCode(),
Hashtable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||