mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Added javadoc comments to plugin factory interfaces.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user