Updated javadocs.

This commit is contained in:
akwizgran
2013-03-20 17:33:13 +00:00
parent 0c64649801
commit d5879df6eb
2 changed files with 6 additions and 5 deletions

View File

@@ -24,14 +24,14 @@ public interface Plugin {
void stop() throws IOException; void stop() throws IOException;
/** /**
* Returns true if the plugin's {@link Plugin#poll(Collection)} method * Returns true if the plugin's {@link #poll(Collection)} method should be
* should be called periodically to attempt to establish connections. * called periodically to attempt to establish connections.
*/ */
boolean shouldPoll(); boolean shouldPoll();
/** /**
* Returns the desired interval in milliseconds between calls to the * Returns the desired interval in milliseconds between calls to the
* plugin's {@link Plugin#poll(Collection)} method. * plugin's {@link #poll(Collection)} method.
*/ */
long getPollingInterval(); long getPollingInterval();

View File

@@ -7,8 +7,9 @@ import java.io.OutputStream;
* A protocol layer that attempts to ensure reliable, ordered delivery of data * A protocol layer that attempts to ensure reliable, ordered delivery of data
* across an unreliable lower layer. Interactions with the lower layer use the * across an unreliable lower layer. Interactions with the lower layer use the
* buffer-oriented {@link ReadHandler} and {@link WriteHandler} interfaces; the * buffer-oriented {@link ReadHandler} and {@link WriteHandler} interfaces; the
* reliability layer presents stream-oriented {@link java.io.InputStream} and * reliability layer presents stream-oriented
* {@link java.io.OutputStream} interfaces to higher layers. * {@link java.io.InputStream InputStream} and
* {@link java.io.OutputStream OutputStream} interfaces to higher layers.
*/ */
public interface ReliabilityLayer extends ReadHandler { public interface ReliabilityLayer extends ReadHandler {