mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Updated javadocs.
This commit is contained in:
@@ -24,14 +24,14 @@ public interface Plugin {
|
||||
void stop() throws IOException;
|
||||
|
||||
/**
|
||||
* Returns true if the plugin's {@link Plugin#poll(Collection)} method
|
||||
* should be called periodically to attempt to establish connections.
|
||||
* Returns true if the plugin's {@link #poll(Collection)} method should be
|
||||
* called periodically to attempt to establish connections.
|
||||
*/
|
||||
boolean shouldPoll();
|
||||
|
||||
/**
|
||||
* 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();
|
||||
|
||||
|
||||
@@ -7,8 +7,9 @@ import java.io.OutputStream;
|
||||
* A protocol layer that attempts to ensure reliable, ordered delivery of data
|
||||
* across an unreliable lower layer. Interactions with the lower layer use the
|
||||
* buffer-oriented {@link ReadHandler} and {@link WriteHandler} interfaces; the
|
||||
* reliability layer presents stream-oriented {@link java.io.InputStream} and
|
||||
* {@link java.io.OutputStream} interfaces to higher layers.
|
||||
* reliability layer presents stream-oriented
|
||||
* {@link java.io.InputStream InputStream} and
|
||||
* {@link java.io.OutputStream OutputStream} interfaces to higher layers.
|
||||
*/
|
||||
public interface ReliabilityLayer extends ReadHandler {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user