jFCPlib.git
9 years agoAllow setting the Identifier field in the ListPeer message
David ‘Bombe’ Roden [Sat, 11 Jul 2015 02:25:23 +0000 (04:25 +0200)]
Allow setting the Identifier field in the ListPeer message

9 years agoReconnect when connection fails
David ‘Bombe’ Roden [Fri, 10 Jul 2015 21:16:23 +0000 (23:16 +0200)]
Reconnect when connection fails

9 years agoClose FCP reply sequences after use
David ‘Bombe’ Roden [Fri, 10 Jul 2015 21:06:29 +0000 (23:06 +0200)]
Close FCP reply sequences after use

9 years agoHandle connection failures in the reply sequence
David ‘Bombe’ Roden [Fri, 10 Jul 2015 20:40:12 +0000 (22:40 +0200)]
Handle connection failures in the reply sequence

9 years agoAdd flag to GetNode command to include volatile data
David ‘Bombe’ Roden [Fri, 10 Jul 2015 20:09:15 +0000 (22:09 +0200)]
Add flag to GetNode command to include volatile data

9 years agoAdd flag to GetNode command to include private data
David ‘Bombe’ Roden [Fri, 10 Jul 2015 20:04:34 +0000 (22:04 +0200)]
Add flag to GetNode command to include private data

9 years agoAdd flag for returning the opennet ref to GetNode command
David ‘Bombe’ Roden [Fri, 10 Jul 2015 19:55:22 +0000 (21:55 +0200)]
Add flag for returning the opennet ref to GetNode command

9 years agoAdd GetNode command implementation
David ‘Bombe’ Roden [Fri, 10 Jul 2015 19:49:34 +0000 (21:49 +0200)]
Add GetNode command implementation

9 years agoAdd constructor that allows handing in an identifier
David ‘Bombe’ Roden [Fri, 10 Jul 2015 19:49:13 +0000 (21:49 +0200)]
Add constructor that allows handing in an identifier

9 years agoUse execute() to trigger execution of commands
David ‘Bombe’ Roden [Fri, 10 Jul 2015 13:52:15 +0000 (15:52 +0200)]
Use execute() to trigger execution of commands

9 years agoRemove debug logging
David ‘Bombe’ Roden [Fri, 10 Jul 2015 13:34:44 +0000 (15:34 +0200)]
Remove debug logging

9 years agoIgnore identifier when consuming unknown messages
David ‘Bombe’ Roden [Fri, 10 Jul 2015 12:59:16 +0000 (14:59 +0200)]
Ignore identifier when consuming unknown messages

9 years agoDon’t verify the identifier twice
David ‘Bombe’ Roden [Fri, 10 Jul 2015 12:56:58 +0000 (14:56 +0200)]
Don’t verify the identifier twice

9 years agoAdd test for reusing connections
David ‘Bombe’ Roden [Fri, 10 Jul 2015 12:44:32 +0000 (14:44 +0200)]
Add test for reusing connections

9 years agoDon’t let clients handle connection failures
David ‘Bombe’ Roden [Fri, 10 Jul 2015 12:39:21 +0000 (14:39 +0200)]
Don’t let clients handle connection failures

9 years agoThrow an exception on EOF!
David ‘Bombe’ Roden [Fri, 10 Jul 2015 12:38:40 +0000 (14:38 +0200)]
Throw an exception on EOF!

9 years agoAdd test for CloseConnectionDuplicateClientName handling
David ‘Bombe’ Roden [Fri, 10 Jul 2015 12:20:53 +0000 (14:20 +0200)]
Add test for CloseConnectionDuplicateClientName handling

9 years agoParse CloseConnectionDuplicateClientName without identifier
David ‘Bombe’ Roden [Fri, 10 Jul 2015 12:20:39 +0000 (14:20 +0200)]
Parse CloseConnectionDuplicateClientName without identifier

9 years agoRework connection sequence to return whether it was successful
David ‘Bombe’ Roden [Fri, 10 Jul 2015 12:20:18 +0000 (14:20 +0200)]
Rework connection sequence to return whether it was successful

9 years agoMove ClientHello command into its own class
David ‘Bombe’ Roden [Fri, 10 Jul 2015 11:59:20 +0000 (13:59 +0200)]
Move ClientHello command into its own class

9 years agoDon’t check identifiers twice
David ‘Bombe’ Roden [Fri, 10 Jul 2015 11:41:47 +0000 (13:41 +0200)]
Don’t check identifiers twice

They are already checked in the super class, FcpReplySequence.

9 years agoAdd “with metadata” and “with volatile” flags to ListPeer command
David ‘Bombe’ Roden [Fri, 10 Jul 2015 11:19:43 +0000 (13:19 +0200)]
Add “with metadata” and “with volatile” flags to ListPeer command

9 years agoAdd ListPeers command
David ‘Bombe’ Roden [Fri, 10 Jul 2015 11:14:02 +0000 (13:14 +0200)]
Add ListPeers command

9 years agoIn an FCP reply sequence, only match replies with the correct identifier
David ‘Bombe’ Roden [Fri, 10 Jul 2015 09:29:17 +0000 (11:29 +0200)]
In an FCP reply sequence, only match replies with the correct identifier

9 years agoExpose fields from FCP replies messages
David ‘Bombe’ Roden [Fri, 10 Jul 2015 09:25:23 +0000 (11:25 +0200)]
Expose fields from FCP replies messages

9 years agoRename Lengthed interface to WithLength
David ‘Bombe’ Roden [Fri, 10 Jul 2015 05:19:24 +0000 (07:19 +0200)]
Rename Lengthed interface to WithLength

9 years agoRename Keyed interface to WithUri
David ‘Bombe’ Roden [Fri, 10 Jul 2015 05:18:54 +0000 (07:18 +0200)]
Rename Keyed interface to WithUri

9 years agoUse a String instead of a Key for redirects
David ‘Bombe’ Roden [Fri, 10 Jul 2015 05:14:54 +0000 (07:14 +0200)]
Use a String instead of a Key for redirects

9 years agoFix logging
David ‘Bombe’ Roden [Fri, 10 Jul 2015 04:58:08 +0000 (06:58 +0200)]
Fix logging

9 years agoAlways expect version 2.0
David ‘Bombe’ Roden [Fri, 10 Jul 2015 04:57:59 +0000 (06:57 +0200)]
Always expect version 2.0

9 years agoAdd test for not reacting to the wrong directory on TestDDAComplete
David ‘Bombe’ Roden [Thu, 9 Jul 2015 05:22:16 +0000 (07:22 +0200)]
Add test for not reacting to the wrong directory on TestDDAComplete

9 years agoAdd test for sending TestDDAResponse if reading the file fails
David ‘Bombe’ Roden [Thu, 9 Jul 2015 05:18:37 +0000 (07:18 +0200)]
Add test for sending TestDDAResponse if reading the file fails

9 years agoDon’t dump the stack trace
David ‘Bombe’ Roden [Thu, 9 Jul 2015 05:18:22 +0000 (07:18 +0200)]
Don’t dump the stack trace

9 years agoAdd test for client put not reacting to wrong TestDDAReply
David ‘Bombe’ Roden [Thu, 9 Jul 2015 05:12:56 +0000 (07:12 +0200)]
Add test for client put not reacting to wrong TestDDAReply

9 years agoAdd test for different protocol error than 25
David ‘Bombe’ Roden [Thu, 9 Jul 2015 05:10:04 +0000 (07:10 +0200)]
Add test for different protocol error than 25

9 years agoAdd test for protocol error 25 for different identifier
David ‘Bombe’ Roden [Thu, 9 Jul 2015 05:09:49 +0000 (07:09 +0200)]
Add test for protocol error 25 for different identifier

9 years agoAdd test for TestDDA sequence
David ‘Bombe’ Roden [Thu, 9 Jul 2015 05:01:21 +0000 (07:01 +0200)]
Add test for TestDDA sequence

9 years agoAllow the reply sequence to initiate own messages
David ‘Bombe’ Roden [Thu, 9 Jul 2015 05:01:01 +0000 (07:01 +0200)]
Allow the reply sequence to initiate own messages

9 years agoSet missing field in response
David ‘Bombe’ Roden [Thu, 9 Jul 2015 05:00:25 +0000 (07:00 +0200)]
Set missing field in response

9 years agoRemove debug code
David ‘Bombe’ Roden [Wed, 8 Jul 2015 19:20:01 +0000 (21:20 +0200)]
Remove debug code

9 years agoReformatting
David ‘Bombe’ Roden [Wed, 8 Jul 2015 18:53:08 +0000 (20:53 +0200)]
Reformatting

9 years agoAdd ClientPut command implementation
David ‘Bombe’ Roden [Wed, 8 Jul 2015 18:53:00 +0000 (20:53 +0200)]
Add ClientPut command implementation

9 years agoAdd quelaton package javadoc
David ‘Bombe’ Roden [Wed, 8 Jul 2015 18:31:29 +0000 (20:31 +0200)]
Add quelaton package javadoc

9 years agoRemove Maven 2-specific jacoco configuration
David ‘Bombe’ Roden [Wed, 8 Jul 2015 18:30:55 +0000 (20:30 +0200)]
Remove Maven 2-specific jacoco configuration

9 years agoAdd links to Guava apidocs in javadoc generation
David ‘Bombe’ Roden [Wed, 8 Jul 2015 18:30:41 +0000 (20:30 +0200)]
Add links to Guava apidocs in javadoc generation

9 years agoConfigure versions of maven plugins
David ‘Bombe’ Roden [Wed, 8 Jul 2015 18:30:29 +0000 (20:30 +0200)]
Configure versions of maven plugins

9 years agoUse listenable future instead of plain ones
David ‘Bombe’ Roden [Wed, 8 Jul 2015 18:01:11 +0000 (20:01 +0200)]
Use listenable future instead of plain ones

9 years agoAdd missing space
David ‘Bombe’ Roden [Tue, 7 Jul 2015 19:35:37 +0000 (21:35 +0200)]
Add missing space

9 years agoGenerate identifiers randomly
David ‘Bombe’ Roden [Mon, 6 Jul 2015 17:28:07 +0000 (19:28 +0200)]
Generate identifiers randomly

9 years agoRefactor anonymous to inner class
David ‘Bombe’ Roden [Mon, 6 Jul 2015 05:06:28 +0000 (07:06 +0200)]
Refactor anonymous to inner class

9 years agoRefactoring
David ‘Bombe’ Roden [Mon, 6 Jul 2015 04:53:01 +0000 (06:53 +0200)]
Refactoring

9 years agoMove ClientGet implementation to its own class
David ‘Bombe’ Roden [Mon, 6 Jul 2015 04:51:15 +0000 (06:51 +0200)]
Move ClientGet implementation to its own class

9 years agoMove key pair generation command to its own class
David ‘Bombe’ Roden [Mon, 6 Jul 2015 04:47:01 +0000 (06:47 +0200)]
Move key pair generation command to its own class

9 years agoDon’t access fcpConnection container directly
David ‘Bombe’ Roden [Mon, 6 Jul 2015 04:46:39 +0000 (06:46 +0200)]
Don’t access fcpConnection container directly

9 years agoFix fake TCP server test
David ‘Bombe’ Roden [Sun, 5 Jul 2015 20:22:00 +0000 (22:22 +0200)]
Fix fake TCP server test

9 years agoRework FcpReplySequence into an abstract base class
David ‘Bombe’ Roden [Sun, 5 Jul 2015 20:12:23 +0000 (22:12 +0200)]
Rework FcpReplySequence into an abstract base class

9 years agoCreate distinctive thread names
David ‘Bombe’ Roden [Sun, 5 Jul 2015 20:11:31 +0000 (22:11 +0200)]
Create distinctive thread names

9 years agoUse diamond operator
David ‘Bombe’ Roden [Sun, 5 Jul 2015 20:11:09 +0000 (22:11 +0200)]
Use diamond operator

9 years agoUse lambda instead of anonymous inner class
David ‘Bombe’ Roden [Sun, 5 Jul 2015 20:08:10 +0000 (22:08 +0200)]
Use lambda instead of anonymous inner class

9 years agoAdd tests that the identifier is correctly used
David ‘Bombe’ Roden [Thu, 2 Jul 2015 05:33:27 +0000 (07:33 +0200)]
Add tests that the identifier is correctly used

9 years agoMove anonymous class to its own method and use a lambda to call it
David ‘Bombe’ Roden [Thu, 2 Jul 2015 05:30:49 +0000 (07:30 +0200)]
Move anonymous class to its own method and use a lambda to call it

9 years agoAdd command that retrieves data from Freenet
David ‘Bombe’ Roden [Wed, 1 Jul 2015 19:29:21 +0000 (21:29 +0200)]
Add command that retrieves data from Freenet

9 years agoRefactoring
David ‘Bombe’ Roden [Wed, 1 Jul 2015 19:28:27 +0000 (21:28 +0200)]
Refactoring

9 years agoAdd method to write several lines at once
David ‘Bombe’ Roden [Wed, 1 Jul 2015 19:27:27 +0000 (21:27 +0200)]
Add method to write several lines at once

9 years agoClose FCP server after each test
David ‘Bombe’ Roden [Wed, 1 Jul 2015 19:27:44 +0000 (21:27 +0200)]
Close FCP server after each test

9 years agoAdd close() method, implement AutoCloseable
David ‘Bombe’ Roden [Wed, 1 Jul 2015 19:27:16 +0000 (21:27 +0200)]
Add close() method, implement AutoCloseable

9 years agoRefactoring
David ‘Bombe’ Roden [Sat, 27 Jun 2015 23:08:53 +0000 (01:08 +0200)]
Refactoring

9 years agoAdd new “quelaton” FCP client API
David ‘Bombe’ Roden [Sat, 27 Jun 2015 22:01:03 +0000 (00:01 +0200)]
Add new “quelaton” FCP client API

9 years agoAdd fluent method to set a field
David ‘Bombe’ Roden [Sat, 27 Jun 2015 21:43:05 +0000 (23:43 +0200)]
Add fluent method to set a field

9 years agoMake all node-side message constructors public
David ‘Bombe’ Roden [Sat, 27 Jun 2015 21:41:10 +0000 (23:41 +0200)]
Make all node-side message constructors public

9 years agoIncrease JUnit dependency to 4.12
David ‘Bombe’ Roden [Thu, 25 Jun 2015 17:42:27 +0000 (19:42 +0200)]
Increase JUnit dependency to 4.12

9 years agoRemove useless tests
David ‘Bombe’ Roden [Thu, 25 Jun 2015 17:23:24 +0000 (19:23 +0200)]
Remove useless tests

9 years agoAdd hamcrest matchers
David ‘Bombe’ Roden [Thu, 25 Jun 2015 17:20:14 +0000 (19:20 +0200)]
Add hamcrest matchers

9 years agoUpdate JUnit to 4.11
David ‘Bombe’ Roden [Thu, 25 Jun 2015 17:20:06 +0000 (19:20 +0200)]
Update JUnit to 4.11

10 years agoDisable JaCoCo plugin until there is a test to be run.
David ‘Bombe’ Roden [Wed, 16 Jul 2014 20:05:28 +0000 (22:05 +0200)]
Disable JaCoCo plugin until there is a test to be run.

10 years agoAdd JaCoCo coverage plugin.
David ‘Bombe’ Roden [Wed, 16 Jul 2014 19:56:25 +0000 (21:56 +0200)]
Add JaCoCo coverage plugin.

10 years agoMove WOT-related container classes to top-level classes.
David ‘Bombe’ Roden [Fri, 11 Apr 2014 06:05:42 +0000 (08:05 +0200)]
Move WOT-related container classes to top-level classes.

10 years agoSet source code encoding for compiler plugin to UTF-8.
David ‘Bombe’ Roden [Wed, 9 Apr 2014 19:51:49 +0000 (21:51 +0200)]
Set source code encoding for compiler plugin to UTF-8.

10 years agoSet version to 0.2-SNAPSHOT.
David ‘Bombe’ Roden [Wed, 9 Apr 2014 19:48:30 +0000 (21:48 +0200)]
Set version to 0.2-SNAPSHOT.

10 years agoRemove dependency on utils package.
David ‘Bombe’ Roden [Sun, 6 Apr 2014 20:03:03 +0000 (22:03 +0200)]
Remove dependency on utils package.

10 years agoRemove Eclipse project files.
David ‘Bombe’ Roden [Sun, 6 Apr 2014 10:18:13 +0000 (12:18 +0200)]
Remove Eclipse project files.

14 years agoReformat source code, new line length for comments (79), some trailing whitespace...
David ‘Bombe’ Roden [Fri, 10 Sep 2010 04:42:24 +0000 (06:42 +0200)]
Reformat source code, new line length for comments (79), some trailing whitespace removed.

14 years agoAdd “filterData” flag to getURI().
David ‘Bombe’ Roden [Fri, 10 Sep 2010 04:38:18 +0000 (06:38 +0200)]
Add “filterData” flag to getURI().

14 years agoLet the FCP client implement the Closeable interface.
David ‘Bombe’ Roden [Fri, 10 Sep 2010 04:26:58 +0000 (06:26 +0200)]
Let the FCP client implement the Closeable interface.

14 years agoAdd “FilterData” flag to ClientGet message.
David ‘Bombe’ Roden [Fri, 10 Sep 2010 04:26:40 +0000 (06:26 +0200)]
Add “FilterData” flag to ClientGet message.

14 years agoRequire a more recent version to net.pterodactylus.utils.
David ‘Bombe’ Roden [Fri, 10 Sep 2010 04:26:28 +0000 (06:26 +0200)]
Require a more recent version to net.pterodactylus.utils.

14 years agoTreat error code 24 as redirect, too.
David ‘Bombe’ Roden [Thu, 9 Sep 2010 20:13:10 +0000 (22:13 +0200)]
Treat error code 24 as redirect, too.

14 years agoAdd @Override annotations that are missing for JDK-1.6 compatibility.
David ‘Bombe’ Roden [Tue, 7 Sep 2010 10:16:51 +0000 (12:16 +0200)]
Add @Override annotations that are missing for JDK-1.6 compatibility.

14 years agoAdd method to retrieve a single URI.
David ‘Bombe’ Roden [Tue, 7 Sep 2010 10:16:14 +0000 (12:16 +0200)]
Add method to retrieve a single URI.

14 years agoReturn the content type of the found data.
David ‘Bombe’ Roden [Tue, 7 Sep 2010 10:04:45 +0000 (12:04 +0200)]
Return the content type of the found data.

14 years agoImplement Identifiable interface where appropriate.
David ‘Bombe’ Roden [Thu, 15 Apr 2010 09:10:11 +0000 (11:10 +0200)]
Implement Identifiable interface where appropriate.

14 years agoAdd interface to mark all FCP messages that have an “Identifier” field.
David ‘Bombe’ Roden [Thu, 15 Apr 2010 09:09:52 +0000 (11:09 +0200)]
Add interface to mark all FCP messages that have an “Identifier” field.

14 years agoAdd possibility to insert additional copies of certain blocks.
David ‘Bombe’ Roden [Thu, 25 Mar 2010 07:56:07 +0000 (08:56 +0100)]
Add possibility to insert additional copies of certain blocks.

14 years agoDon’t assume every client is already connected.
David ‘Bombe’ Roden [Fri, 19 Mar 2010 07:59:05 +0000 (08:59 +0100)]
Don’t assume every client is already connected.

14 years agoAdd “fork on cacheable” flag to all ClientPut* requests.
David ‘Bombe’ Roden [Thu, 18 Mar 2010 13:25:53 +0000 (14:25 +0100)]
Add “fork on cacheable” flag to all ClientPut* requests.

14 years agoAllow detaching the client from its connection.
David ‘Bombe’ Roden [Fri, 15 Jan 2010 11:25:40 +0000 (12:25 +0100)]
Allow detaching the client from its connection.

14 years agoAdd possibility to simply wrap a high-level client around an FCP connection.
David ‘Bombe’ Roden [Fri, 15 Jan 2010 11:04:55 +0000 (12:04 +0100)]
Add possibility to simply wrap a high-level client around an FCP connection.

14 years agoRemove “name” field, the name is only used when connecting.
David ‘Bombe’ Roden [Fri, 15 Jan 2010 11:02:21 +0000 (12:02 +0100)]
Remove “name” field, the name is only used when connecting.

14 years agoSet version to 0.1.2.3. v0.1.2.3
David ‘Bombe’ Roden [Tue, 5 Jan 2010 15:15:15 +0000 (16:15 +0100)]
Set version to 0.1.2.3.

14 years agoExpose the underlying FCP connection.
David ‘Bombe’ Roden [Tue, 5 Jan 2010 15:14:09 +0000 (16:14 +0100)]
Expose the underlying FCP connection.