jFCPlib.git
8 years agoAdd method to modify peer by node identity
David ‘Bombe’ Roden [Mon, 13 Jul 2015 17:37:44 +0000 (19:37 +0200)]
Add method to modify peer by node identity

8 years agoAdd method to disable peer
David ‘Bombe’ Roden [Mon, 13 Jul 2015 17:35:59 +0000 (19:35 +0200)]
Add method to disable peer

8 years agoAdd command to modify peer settings
David ‘Bombe’ Roden [Mon, 13 Jul 2015 17:34:26 +0000 (19:34 +0200)]
Add command to modify peer settings

8 years agoAdd useful methods
David ‘Bombe’ Roden [Mon, 13 Jul 2015 17:33:14 +0000 (19:33 +0200)]
Add useful methods

8 years agoAdd constructor that takes an identifier
David ‘Bombe’ Roden [Mon, 13 Jul 2015 17:33:05 +0000 (19:33 +0200)]
Add constructor that takes an identifier

8 years agoRemove unused interface
David ‘Bombe’ Roden [Mon, 13 Jul 2015 16:21:27 +0000 (18:21 +0200)]
Remove unused interface

8 years agoInline interfaces used in ClientPut
David ‘Bombe’ Roden [Mon, 13 Jul 2015 16:21:15 +0000 (18:21 +0200)]
Inline interfaces used in ClientPut

8 years agoFix formatting
David ‘Bombe’ Roden [Mon, 13 Jul 2015 05:16:21 +0000 (07:16 +0200)]
Fix formatting

8 years agoAdd ListPeerNotes command
David ‘Bombe’ Roden [Mon, 13 Jul 2015 05:16:15 +0000 (07:16 +0200)]
Add ListPeerNotes command

8 years agoAdd second constructor to set identifier
David ‘Bombe’ Roden [Mon, 13 Jul 2015 05:15:37 +0000 (07:15 +0200)]
Add second constructor to set identifier

8 years agoAdd event for URIGenerated messages on ClientPut command
David ‘Bombe’ Roden [Sun, 12 Jul 2015 11:09:47 +0000 (13:09 +0200)]
Add event for URIGenerated messages on ClientPut command

8 years agoDon’t initialize peer with null
David ‘Bombe’ Roden [Sun, 12 Jul 2015 10:53:09 +0000 (12:53 +0200)]
Don’t initialize peer with null

8 years agoRemove unnecessary toString() invocations
David ‘Bombe’ Roden [Sun, 12 Jul 2015 10:52:59 +0000 (12:52 +0200)]
Remove unnecessary toString() invocations

8 years agoTurn member field into local variable
David ‘Bombe’ Roden [Sat, 11 Jul 2015 18:53:34 +0000 (20:53 +0200)]
Turn member field into local variable

8 years agoClean up imports
David ‘Bombe’ Roden [Sat, 11 Jul 2015 18:35:37 +0000 (20:35 +0200)]
Clean up imports

8 years agoRename FcpReplySequence to FcpDialog
David ‘Bombe’ Roden [Sat, 11 Jul 2015 18:33:22 +0000 (20:33 +0200)]
Rename FcpReplySequence to FcpDialog

8 years agoAdd method to add peer by noderef
David ‘Bombe’ Roden [Sat, 11 Jul 2015 17:26:09 +0000 (19:26 +0200)]
Add method to add peer by noderef

8 years agoRename method to add peer from a file
David ‘Bombe’ Roden [Sat, 11 Jul 2015 17:03:37 +0000 (19:03 +0200)]
Rename method to add peer from a file

8 years agoAdd method to add peer from a URL
David ‘Bombe’ Roden [Sat, 11 Jul 2015 17:02:05 +0000 (19:02 +0200)]
Add method to add peer from a URL

8 years agoAdd AddPeer command that adds a noderef from a file
David ‘Bombe’ Roden [Sat, 11 Jul 2015 09:43:09 +0000 (11:43 +0200)]
Add AddPeer command that adds a noderef from a file

8 years agoAdd constructor to set an identifier
David ‘Bombe’ Roden [Sat, 11 Jul 2015 09:37:10 +0000 (11:37 +0200)]
Add constructor to set an identifier

8 years agoAdd ListPeer command
David ‘Bombe’ Roden [Sat, 11 Jul 2015 02:25:48 +0000 (04:25 +0200)]
Add ListPeer command

8 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

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

8 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

8 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

8 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

8 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

8 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

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

8 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

8 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

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

8 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

8 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

8 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

8 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

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.