Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
briar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Julian Dehm
briar
Commits
d5879df6
Commit
d5879df6
authored
12 years ago
by
akwizgran
Browse files
Options
Downloads
Patches
Plain Diff
Updated javadocs.
parent
0c646498
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
briar-api/src/net/sf/briar/api/plugins/Plugin.java
+3
-3
3 additions, 3 deletions
briar-api/src/net/sf/briar/api/plugins/Plugin.java
briar-api/src/net/sf/briar/api/reliability/ReliabilityLayer.java
+3
-2
3 additions, 2 deletions
...pi/src/net/sf/briar/api/reliability/ReliabilityLayer.java
with
6 additions
and
5 deletions
briar-api/src/net/sf/briar/api/plugins/Plugin.java
+
3
−
3
View file @
d5879df6
...
@@ -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
();
...
...
This diff is collapsed.
Click to expand it.
briar-api/src/net/sf/briar/api/reliability/ReliabilityLayer.java
+
3
−
2
View file @
d5879df6
...
@@ -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
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment