jFCPlib.git
8 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!

8 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

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

8 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

8 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

8 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.

8 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

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

8 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

8 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

8 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

8 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

8 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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

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

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

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

8 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

8 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

8 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

8 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

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

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

8 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

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

8 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

8 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

8 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

8 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

8 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

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

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

8 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

8 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

8 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

8 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

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

8 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

8 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

8 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

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

8 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

8 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

8 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

8 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

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

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

8 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

9 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.

9 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.

13 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.

13 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().

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

14 years agoCount statistics over all connections created in the current VM.
David ‘Bombe’ Roden [Sat, 28 Nov 2009 18:39:12 +0000 (19:39 +0100)]
Count statistics over all connections created in the current VM.

14 years agoSet version to 0.1.2.2. v0.1.2.2
David ‘Bombe’ Roden [Fri, 27 Nov 2009 13:43:25 +0000 (14:43 +0100)]
Set version to 0.1.2.2.

14 years agoCount down latch after the NodeHello response has been stored.
David ‘Bombe’ Roden [Fri, 27 Nov 2009 13:37:14 +0000 (14:37 +0100)]
Count down latch after the NodeHello response has been stored.

14 years agoUpdate maven configuration to using Java 6.
David ‘Bombe’ Roden [Thu, 26 Nov 2009 19:57:52 +0000 (20:57 +0100)]
Update maven configuration to using Java 6.

14 years agoSet version to 0.1.2.1. v0.1.2.1
David ‘Bombe’ Roden [Thu, 26 Nov 2009 13:36:29 +0000 (14:36 +0100)]
Set version to 0.1.2.1.

14 years agoBuild source archive when building jar.
David ‘Bombe’ Roden [Thu, 26 Nov 2009 13:35:18 +0000 (14:35 +0100)]
Build source archive when building jar.

14 years agoBuild javadoc when building jar.
David ‘Bombe’ Roden [Thu, 26 Nov 2009 13:33:04 +0000 (14:33 +0100)]
Build javadoc when building jar.

14 years agoMake all setter methods package-private.
David ‘Bombe’ Roden [Thu, 26 Nov 2009 09:07:44 +0000 (10:07 +0100)]
Make all setter methods package-private.

14 years agoEnhance javadoc.
David ‘Bombe’ Roden [Thu, 26 Nov 2009 09:07:07 +0000 (10:07 +0100)]
Enhance javadoc.

14 years agoComplete javadoc.
David ‘Bombe’ Roden [Fri, 20 Nov 2009 08:38:53 +0000 (09:38 +0100)]
Complete javadoc.

14 years agoSynchronized methods because they override synchronized methods.
David ‘Bombe’ Roden [Fri, 20 Nov 2009 08:38:23 +0000 (09:38 +0100)]
Synchronized methods because they override synchronized methods.

14 years agoFormatting‧
David ‘Bombe’ Roden [Fri, 20 Nov 2009 08:26:45 +0000 (09:26 +0100)]
Formatting‧

14 years agoUse logging for debug output.
David ‘Bombe’ Roden [Fri, 20 Nov 2009 08:26:41 +0000 (09:26 +0100)]
Use logging for debug output.

14 years agoSet version to 0.1.2. v0.1.2
David ‘Bombe’ Roden [Thu, 19 Nov 2009 20:27:46 +0000 (21:27 +0100)]
Set version to 0.1.2.

14 years agoUse logging setup from utils.
David ‘Bombe’ Roden [Thu, 19 Nov 2009 20:27:27 +0000 (21:27 +0100)]
Use logging setup from utils.