public class DefaultTransportPlugin extends java.lang.Object implements TransportPlugin
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_COMPRESS
Default value of the property
#PROPERTY_COMPRESS_DATA |
static int |
DEFAULT_PORT
Default value of the property
PROPERTY_SEVER_PORT |
static java.lang.String |
PROPERTY_CIPHER_SUITES
The list of allowed ssl ciphers.
|
static java.lang.String |
PROPERTY_SEVER_PORT
The default server port property.
|
static java.lang.String |
PROPERTY_WORKERS_MAX
A value representing the maximum amount of parallel jobs that are handled by the plugin.
|
Constructor and Description |
---|
DefaultTransportPlugin() |
Modifier and Type | Method and Description |
---|---|
void |
addPluginListener(PluginListener listener)
the listeners are not used in this plugin
|
void |
close()
Closes the plugin and all its resources.
|
void |
init(java.util.Properties properties)
Initialize the plugin.
|
void |
removePluginListener(PluginListener listener)
The listeners are not usewd in this plugin
|
public static final java.lang.String PROPERTY_SEVER_PORT
public static final java.lang.String PROPERTY_CIPHER_SUITES
public static final java.lang.String PROPERTY_WORKERS_MAX
public static final int DEFAULT_PORT
PROPERTY_SEVER_PORT
public static final boolean DEFAULT_COMPRESS
#PROPERTY_COMPRESS_DATA
public void init(java.util.Properties properties)
TransportPlugin
init
in interface TransportPlugin
public void addPluginListener(PluginListener listener)
addPluginListener
in interface TransportPlugin
listener
- a PluginListener
public void removePluginListener(PluginListener listener)
removePluginListener
in interface TransportPlugin
public void close()
TransportPlugin
close
in interface TransportPlugin