Skip to content
Snippets Groups Projects
Commit d5879df6 authored by akwizgran's avatar akwizgran
Browse files

Updated javadocs.

parent 0c646498
No related branches found
No related tags found
No related merge requests found
...@@ -24,14 +24,14 @@ public interface Plugin { ...@@ -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();
......
...@@ -7,8 +7,9 @@ import java.io.OutputStream; ...@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment