mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-17 13:19:52 +01:00
Updated javadocs.
This commit is contained in:
@@ -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;
|
|||||||
* 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 {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user