Refactoring: shorter class names.

This commit is contained in:
akwizgran
2011-10-12 17:25:37 +01:00
parent c5d9d9fa64
commit 64e2d7bca9
16 changed files with 56 additions and 58 deletions

View File

@@ -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

View File

@@ -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);

View File

@@ -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();

View File

@@ -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();

View File

@@ -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

View File

@@ -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);