projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename Command.Reply to Command.Response.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
freenet
/
fcp
/
Command.java
diff --git
a/src/main/java/net/pterodactylus/sone/freenet/fcp/Command.java
b/src/main/java/net/pterodactylus/sone/freenet/fcp/Command.java
index
07fb7a4
..
faa10db
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/freenet/fcp/Command.java
+++ b/
src/main/java/net/pterodactylus/sone/freenet/fcp/Command.java
@@
-42,7
+42,7
@@
public interface Command {
* @throws FcpException
* if an error processing the parameters occurs
*/
* @throws FcpException
* if an error processing the parameters occurs
*/
- public Re
ply
execute(SimpleFieldSet parameters, Bucket data, AccessType accessType) throws FcpException;
+ public Re
sponse
execute(SimpleFieldSet parameters, Bucket data, AccessType accessType) throws FcpException;
/**
* The access type of the request.
/**
* The access type of the request.
@@
-67,7
+67,7
@@
public interface Command {
*
* @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
*
* @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
- public static class Re
ply
{
+ public static class Re
sponse
{
/** The reply parameters. */
private final SimpleFieldSet replyParameters;
/** The reply parameters. */
private final SimpleFieldSet replyParameters;
@@
-84,7
+84,7
@@
public interface Command {
* @param replyParameters
* The reply parameters
*/
* @param replyParameters
* The reply parameters
*/
- public Re
ply
(SimpleFieldSet replyParameters) {
+ public Re
sponse
(SimpleFieldSet replyParameters) {
this(replyParameters, null, null);
}
this(replyParameters, null, null);
}
@@
-96,7
+96,7
@@
public interface Command {
* @param data
* The data of the reply (may be {@code null})
*/
* @param data
* The data of the reply (may be {@code null})
*/
- public Re
ply
(SimpleFieldSet replyParameters, byte[] data) {
+ public Re
sponse
(SimpleFieldSet replyParameters, byte[] data) {
this(replyParameters, data, null);
}
this(replyParameters, data, null);
}
@@
-108,7
+108,7
@@
public interface Command {
* @param bucket
* The bucket of the reply (may be {@code null})
*/
* @param bucket
* The bucket of the reply (may be {@code null})
*/
- public Re
ply
(SimpleFieldSet replyParameters, Bucket bucket) {
+ public Re
sponse
(SimpleFieldSet replyParameters, Bucket bucket) {
this(replyParameters, null, bucket);
}
this(replyParameters, null, bucket);
}
@@
-122,7
+122,7
@@
public interface Command {
* @param bucket
* The bucket of the reply (may be {@code null})
*/
* @param bucket
* The bucket of the reply (may be {@code null})
*/
- private Re
ply
(SimpleFieldSet replyParameters, byte[] data, Bucket bucket) {
+ private Re
sponse
(SimpleFieldSet replyParameters, byte[] data, Bucket bucket) {
this.replyParameters = replyParameters;
this.data = data;
this.bucket = bucket;
this.replyParameters = replyParameters;
this.data = data;
this.bucket = bucket;