jFCPlib.git
9 years agoAdd test for removing peers with unknown node identifiers
David ‘Bombe’ Roden [Mon, 13 Jul 2015 19:04:59 +0000 (21:04 +0200)]
Add test for removing peers with unknown node identifiers

9 years agoAdd method to remove a peer by host name and port number
David ‘Bombe’ Roden [Mon, 13 Jul 2015 19:03:37 +0000 (21:03 +0200)]
Add method to remove a peer by host name and port number

9 years agoAdd method to remove peer by identity
David ‘Bombe’ Roden [Mon, 13 Jul 2015 19:02:10 +0000 (21:02 +0200)]
Add method to remove peer by identity

9 years agoAdd command that removes a peer from the node by name
David ‘Bombe’ Roden [Mon, 13 Jul 2015 19:00:48 +0000 (21:00 +0200)]
Add command that removes a peer from the node by name

9 years agoAdd second constructor that takes an identifier
David ‘Bombe’ Roden [Mon, 13 Jul 2015 18:59:55 +0000 (20:59 +0200)]
Add second constructor that takes an identifier

9 years agoRename all remaining occurences of “sequence” to “dialog”
David ‘Bombe’ Roden [Mon, 13 Jul 2015 18:45:35 +0000 (20:45 +0200)]
Rename all remaining occurences of “sequence” to “dialog”

9 years agoAdd test for unknown node identifiers on modify peer command
David ‘Bombe’ Roden [Mon, 13 Jul 2015 18:39:38 +0000 (20:39 +0200)]
Add test for unknown node identifiers on modify peer command

9 years agoAdd method to not ignore source of a peer
David ‘Bombe’ Roden [Mon, 13 Jul 2015 18:37:32 +0000 (20:37 +0200)]
Add method to not ignore source of a peer

9 years agoAdd method to ignore source for a peer
David ‘Bombe’ Roden [Mon, 13 Jul 2015 18:34:04 +0000 (20:34 +0200)]
Add method to ignore source for a peer

9 years agoAdd method to clear listen only on a peer
David ‘Bombe’ Roden [Mon, 13 Jul 2015 18:30:31 +0000 (20:30 +0200)]
Add method to clear listen only on a peer

9 years agoAdd method to set listen only on a peer
David ‘Bombe’ Roden [Mon, 13 Jul 2015 18:29:20 +0000 (20:29 +0200)]
Add method to set listen only on a peer

9 years agoAdd method to clear burst only on peer
David ‘Bombe’ Roden [Mon, 13 Jul 2015 18:23:56 +0000 (20:23 +0200)]
Add method to clear burst only on peer

9 years agoAdd method to set burst only for peer
David ‘Bombe’ Roden [Mon, 13 Jul 2015 18:19:43 +0000 (20:19 +0200)]
Add method to set burst only for peer

9 years agoAdd method to disallow local addresses for a peer
David ‘Bombe’ Roden [Mon, 13 Jul 2015 18:13:19 +0000 (20:13 +0200)]
Add method to disallow local addresses for a peer

9 years agoAdd method to allow local addresses for a peer
David ‘Bombe’ Roden [Mon, 13 Jul 2015 17:58:49 +0000 (19:58 +0200)]
Add method to allow local addresses for a peer

9 years agoAdd method to modify peers by host name and port number
David ‘Bombe’ Roden [Mon, 13 Jul 2015 17:52:13 +0000 (19:52 +0200)]
Add method to modify peers by host name and port number

9 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

9 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

9 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

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

9 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

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

9 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

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

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

9 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

9 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

9 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

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

9 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

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

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

9 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

9 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

9 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

9 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

9 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

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

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