projects
/
jSite2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Notify listeners when a node was connected successfully.
[jSite2.git]
/
src
/
net
/
pterodactylus
/
jsite
/
core
/
Request.java
diff --git
a/src/net/pterodactylus/jsite/core/Request.java
b/src/net/pterodactylus/jsite/core/Request.java
index
2c79856
..
a61bb94
100644
(file)
--- a/
src/net/pterodactylus/jsite/core/Request.java
+++ b/
src/net/pterodactylus/jsite/core/Request.java
@@
-23,14
+23,14
@@
import net.pterodactylus.util.beans.AbstractBean;
/**
* A request is an ongoing download or upload reported by the freenet node.
/**
* A request is an ongoing download or upload reported by the freenet node.
- *
+ *
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
public class Request extends AbstractBean {
/**
* The type of a request.
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
public class Request extends AbstractBean {
/**
* The type of a request.
- *
+ *
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
public enum Type {
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
public enum Type {
@@
-129,7
+129,7
@@
public class Request extends AbstractBean {
/**
* Creates a new request with the given identifier.
/**
* Creates a new request with the given identifier.
- *
+ *
* @param node
* The node the request belongs to
* @param identifier
* @param node
* The node the request belongs to
* @param identifier
@@
-146,7
+146,7
@@
public class Request extends AbstractBean {
/**
* Returns the node the request belongs to.
/**
* Returns the node the request belongs to.
- *
+ *
* @return The node the request belongs to
*/
public Node getNode() {
* @return The node the request belongs to
*/
public Node getNode() {
@@
-155,7
+155,7
@@
public class Request extends AbstractBean {
/**
* Returns the identifier of the request. It is unique per node.
/**
* Returns the identifier of the request. It is unique per node.
- *
+ *
* @return The identifier of the request
*/
public String getIdentifier() {
* @return The identifier of the request
*/
public String getIdentifier() {
@@
-164,7
+164,7
@@
public class Request extends AbstractBean {
/**
* Returns the type of the request.
/**
* Returns the type of the request.
- *
+ *
* @return The type of the request
*/
* @return The type of the request
*/
@@
-174,7
+174,7
@@
public class Request extends AbstractBean {
/**
* Sets the type of the request.
/**
* Sets the type of the request.
- *
+ *
* @param type
* The type of the request
*/
* @param type
* The type of the request
*/
@@
-186,7
+186,7
@@
public class Request extends AbstractBean {
/**
* Returns the client token of the request.
/**
* Returns the client token of the request.
- *
+ *
* @return The client token of the request
*/
public String getClientToken() {
* @return The client token of the request
*/
public String getClientToken() {
@@
-195,7
+195,7
@@
public class Request extends AbstractBean {
/**
* Sets the client token of the request.
/**
* Sets the client token of the request.
- *
+ *
* @param clientToken
* The client token of the request
*/
* @param clientToken
* The client token of the request
*/
@@
-207,7
+207,7
@@
public class Request extends AbstractBean {
/**
* Returns whether the request has finished.
/**
* Returns whether the request has finished.
- *
+ *
* @see #isSuccessful()
* @return <code>true</code> if the request is finished,
* <code>false</code> otherwise
* @see #isSuccessful()
* @return <code>true</code> if the request is finished,
* <code>false</code> otherwise
@@
-218,7
+218,7
@@
public class Request extends AbstractBean {
/**
* Sets whether the request has finished.
/**
* Sets whether the request has finished.
- *
+ *
* @param finished
* <code>true</code> if the request has finished,
* <code>false</code> otherwise
* @param finished
* <code>true</code> if the request has finished,
* <code>false</code> otherwise
@@
-232,7
+232,7
@@
public class Request extends AbstractBean {
/**
* Returns whether the request finished successfully. This value will only
* have meaning if {@link #isFinished()} returns <code>true</code>.
/**
* Returns whether the request finished successfully. This value will only
* have meaning if {@link #isFinished()} returns <code>true</code>.
- *
+ *
* @return <code>true</code> if the request finished successfully,
* <code>false</code> otherwise
*/
* @return <code>true</code> if the request finished successfully,
* <code>false</code> otherwise
*/
@@
-242,7
+242,7
@@
public class Request extends AbstractBean {
/**
* Sets whether this request finished successfully.
/**
* Sets whether this request finished successfully.
- *
+ *
* @param successful
* <code>true</code> if the request finished successfully,
* <code>false</code> otherwise
* @param successful
* <code>true</code> if the request finished successfully,
* <code>false</code> otherwise
@@
-256,7
+256,7
@@
public class Request extends AbstractBean {
/**
* Returns whether the data inserted by this {@link Type#put} or
* {@link Type#putDir} request is already fetchable by other clients.
/**
* Returns whether the data inserted by this {@link Type#put} or
* {@link Type#putDir} request is already fetchable by other clients.
- *
+ *
* @return <code>true</code> if the data is already fetchable,
* <code>false</code> otherwise
*/
* @return <code>true</code> if the data is already fetchable,
* <code>false</code> otherwise
*/
@@
-267,7
+267,7
@@
public class Request extends AbstractBean {
/**
* Sets whether the data inserted by this {@link Type#put} or
* {@link Type#putDir} request is already fetchable by other clients.
/**
* Sets whether the data inserted by this {@link Type#put} or
* {@link Type#putDir} request is already fetchable by other clients.
- *
+ *
* @param fetchable
* <code>true</code> if the data is already fetchable,
* <code>false</code> otherwise
* @param fetchable
* <code>true</code> if the data is already fetchable,
* <code>false</code> otherwise
@@
-280,7
+280,7
@@
public class Request extends AbstractBean {
/**
* Returns the URI generated by this request.
/**
* Returns the URI generated by this request.
- *
+ *
* @return The generated URI
*/
public String getURI() {
* @return The generated URI
*/
public String getURI() {
@@
-289,7
+289,7
@@
public class Request extends AbstractBean {
/**
* Sets the URI generated by this request.
/**
* Sets the URI generated by this request.
- *
+ *
* @param uri
* The generated URI
*/
* @param uri
* The generated URI
*/
@@
-301,7
+301,7
@@
public class Request extends AbstractBean {
* Returns the total number of blocks of a request. Until
* {@link #isTotalFinalized()} returns <code>true</code> this value may
* change!
* Returns the total number of blocks of a request. Until
* {@link #isTotalFinalized()} returns <code>true</code> this value may
* change!
- *
+ *
* @return The total number of blocks of a request
*/
public int getTotalBlocks() {
* @return The total number of blocks of a request
*/
public int getTotalBlocks() {
@@
-310,7
+310,7
@@
public class Request extends AbstractBean {
/**
* Sets the total number of blocks of a request.
/**
* Sets the total number of blocks of a request.
- *
+ *
* @param totalBlocks
* The total number of blocks
*/
* @param totalBlocks
* The total number of blocks
*/