mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
Segmented plugin interfaces should extend general plugin interfaces.
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
package net.sf.briar.api.plugins.duplex;
|
||||
|
||||
import net.sf.briar.api.ContactId;
|
||||
import net.sf.briar.api.plugins.Plugin;
|
||||
|
||||
/**
|
||||
* An interface for transport plugins that support duplex segmented
|
||||
* communication.
|
||||
*/
|
||||
public interface DuplexSegmentedPlugin {
|
||||
public interface DuplexSegmentedPlugin extends Plugin {
|
||||
|
||||
/**
|
||||
* Attempts to create and return a connection to the given contact using
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
package net.sf.briar.api.plugins.duplex;
|
||||
|
||||
import net.sf.briar.api.ContactId;
|
||||
import net.sf.briar.api.plugins.PluginCallback;
|
||||
|
||||
/**
|
||||
* An interface for handling connections created by a duplex segmented
|
||||
* transport plugin.
|
||||
*/
|
||||
public interface DuplexSegmentedPluginCallback {
|
||||
public interface DuplexSegmentedPluginCallback extends PluginCallback {
|
||||
|
||||
void incomingConnectionCreated(DuplexSegmentedTransportConnection d);
|
||||
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
package net.sf.briar.api.plugins.simplex;
|
||||
|
||||
import net.sf.briar.api.ContactId;
|
||||
import net.sf.briar.api.plugins.Plugin;
|
||||
|
||||
/**
|
||||
* An interface for transport plugins that support simplex segmented
|
||||
* communication.
|
||||
*/
|
||||
public interface SimplexSegmentedPlugin {
|
||||
public interface SimplexSegmentedPlugin extends Plugin {
|
||||
|
||||
/**
|
||||
* Attempts to create and return a reader for the given contact using the
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
package net.sf.briar.api.plugins.simplex;
|
||||
|
||||
import net.sf.briar.api.ContactId;
|
||||
import net.sf.briar.api.plugins.PluginCallback;
|
||||
|
||||
/**
|
||||
* An interface for handling readers and writers created by a simplex
|
||||
* segmented transport plugin.
|
||||
*/
|
||||
public interface SimplexSegmentedPluginCallback {
|
||||
public interface SimplexSegmentedPluginCallback extends PluginCallback {
|
||||
|
||||
void readerCreated(SimplexSegmentedTransportReader r);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user