public interface TransportPlugin
Modifier and Type | Method and Description |
---|---|
void |
addPluginListener(PluginListener listener)
Adds a
PluginListener to the list of listeners on the
TransportPlugin. |
void |
close()
Closes the plugin and all its resources.
|
void |
init(java.util.Properties properties)
Initialize the plugin.
|
void |
removePluginListener(PluginListener listener)
Removes a previously registered
PluginListener from the
TransportPlugin. |
void init(java.util.Properties properties)
properties
- void addPluginListener(PluginListener listener)
PluginListener
to the list of listeners on the
TransportPlugin. The listeners can be used to inform objects about file
transfers.listener
- a PluginListener
void removePluginListener(PluginListener listener)
PluginListener
from the
TransportPlugin.listener
- void close()