Skip to content
Snippets Groups Projects
Commit 250afa76 authored by akwizgran's avatar akwizgran
Browse files

Added javadoc comments to plugin factory interfaces.

parent 0198e407
No related branches found
No related tags found
No related merge requests found
......@@ -2,9 +2,12 @@ package org.briarproject.api.plugins.duplex;
import org.briarproject.api.TransportId;
/** Factory for creating a plugin for a duplex transport. */
public interface DuplexPluginFactory {
/** Returns the plugin's transport identifier. */
TransportId getId();
/** Creates and returns a plugin, or null if no plugin can be created. */
DuplexPlugin createPlugin(DuplexPluginCallback callback);
}
......@@ -2,9 +2,12 @@ package org.briarproject.api.plugins.simplex;
import org.briarproject.api.TransportId;
/** Factory for creating a plugin for a simplex transport. */
public interface SimplexPluginFactory {
/** Returns the plugin's transport identifier. */
TransportId getId();
/** Creates and returns a plugin, or null if no plugin can be created. */
SimplexPlugin createPlugin(SimplexPluginCallback callback);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment