mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Refactoring: shorter class names.
This commit is contained in:
@@ -8,7 +8,7 @@ import net.sf.briar.api.transport.BatchTransportWriter;
|
||||
* An interface for transport plugins that do not support bidirectional,
|
||||
* reliable, ordered, timely delivery of data.
|
||||
*/
|
||||
public interface BatchTransportPlugin extends TransportPlugin {
|
||||
public interface BatchPlugin extends Plugin {
|
||||
|
||||
/**
|
||||
* Attempts to create and return a BatchTransportReader for the given
|
||||
@@ -8,7 +8,7 @@ import net.sf.briar.api.transport.BatchTransportWriter;
|
||||
* An interface for receiving readers and writers created by a batch-mode
|
||||
* transport plugin.
|
||||
*/
|
||||
public interface BatchTransportCallback extends TransportCallback {
|
||||
public interface BatchPluginCallback extends PluginCallback {
|
||||
|
||||
void readerCreated(BatchTransportReader r);
|
||||
|
||||
@@ -4,7 +4,7 @@ import java.io.IOException;
|
||||
|
||||
import net.sf.briar.api.TransportId;
|
||||
|
||||
public interface TransportPlugin {
|
||||
public interface Plugin {
|
||||
|
||||
/** Returns the plugin's transport identifier. */
|
||||
TransportId getId();
|
||||
@@ -10,7 +10,7 @@ import net.sf.briar.api.TransportProperties;
|
||||
* An interface through which a transport plugin interacts with the rest of
|
||||
* the application.
|
||||
*/
|
||||
public interface TransportCallback {
|
||||
public interface PluginCallback {
|
||||
|
||||
/** Returns the plugin's configuration. */
|
||||
TransportConfig getConfig();
|
||||
@@ -7,7 +7,7 @@ import net.sf.briar.api.transport.StreamTransportConnection;
|
||||
* An interface for transport plugins that support bidirectional, reliable,
|
||||
* ordered, timely delivery of data.
|
||||
*/
|
||||
public interface StreamTransportPlugin extends TransportPlugin {
|
||||
public interface StreamPlugin extends Plugin {
|
||||
|
||||
/**
|
||||
* Attempts to create and return a StreamTransportConnection to the given
|
||||
@@ -7,7 +7,7 @@ import net.sf.briar.api.transport.StreamTransportConnection;
|
||||
* An interface for receiving connections created by a stream-mode transport
|
||||
* plugin.
|
||||
*/
|
||||
public interface StreamTransportCallback extends TransportCallback {
|
||||
public interface StreamPluginCallback extends PluginCallback {
|
||||
|
||||
void incomingConnectionCreated(StreamTransportConnection c);
|
||||
|
||||
Reference in New Issue
Block a user