public enum SocketFactoryType extends Enum<SocketFactoryType>
| Enum Constant and Description |
|---|
COMPRESSED
Compressed socket.
No SSL. |
DEFAULT
Remote connection or session default.
|
PLAIN
Plain.
No ssl, no compression. |
SSL
SSL socket.
No compression. |
SSL_COMPRESSED
Compressed SSL.
|
SYSTEM
System default.
JVM's default socket factories. |
| Modifier and Type | Method and Description |
|---|---|
static SocketFactoryType |
parse(String config)
Parses the socket factory type according from a string.
|
static SocketFactoryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SocketFactoryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SocketFactoryType SYSTEM
public static final SocketFactoryType DEFAULT
public static final SocketFactoryType PLAIN
public static final SocketFactoryType SSL
public static final SocketFactoryType COMPRESSED
public static final SocketFactoryType SSL_COMPRESSED
public static SocketFactoryType[] values()
for (SocketFactoryType c : SocketFactoryType.values()) System.out.println(c);
public static SocketFactoryType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static SocketFactoryType parse(String config)
socketfactory=[system|default|plain|ssl|compressed]: the socket factory type:
RemoteDbConnection objectClientSocketFactory, ServerSocketFactorySslClientSocketFactory, SslServerSocketFactoryCompressedClientSocketFactory, CompressedServerSocketFactoryCompressedSslClientSocketFactory and CompressedSslServerSocketFactory.
config - the socket factory configuration stringCopyright © 2016 Krake Softwaretechnik. All rights reserved.