jFCPlib.git
15 years agoMake synchronization more consistent.
David ‘Bombe’ Roden [Fri, 22 May 2009 05:10:33 +0000 (07:10 +0200)]
Make synchronization more consistent.

15 years agoAdd “connected” flag.
David ‘Bombe’ Roden [Wed, 20 May 2009 05:41:53 +0000 (07:41 +0200)]
Add “connected” flag.
Check for client being connected before trying to communicate with the node.

15 years agoAdd some common collection filters.
David ‘Bombe’ Roden [Sun, 17 May 2009 20:02:52 +0000 (22:02 +0200)]
Add some common collection filters.

15 years agoAdd filter interface.
David ‘Bombe’ Roden [Sun, 17 May 2009 20:02:45 +0000 (22:02 +0200)]
Add filter interface.

15 years agoMake request base class abstract.
David ‘Bombe’ Roden [Sun, 17 May 2009 20:01:30 +0000 (22:01 +0200)]
Make request base class abstract.

15 years agoAdd “getPutRequests” method.
David ‘Bombe’ Roden [Sun, 17 May 2009 20:01:20 +0000 (22:01 +0200)]
Add “getPutRequests” method.

15 years agoImplement getGetRequests by using a filter.
David ‘Bombe’ Roden [Sun, 17 May 2009 20:00:37 +0000 (22:00 +0200)]
Implement getGetRequests by using a filter.

15 years agoIgnore “doc/” directory.
David ‘Bombe’ Roden [Sun, 17 May 2009 19:59:48 +0000 (21:59 +0200)]
Ignore “doc/” directory.

15 years agoAdd javadoc.
David ‘Bombe’ Roden [Thu, 9 Apr 2009 13:34:17 +0000 (15:34 +0200)]
Add javadoc.

15 years agoAdd convenience methods to get darknet, opennet, and seed peers only.
David ‘Bombe’ Roden [Tue, 24 Mar 2009 23:36:36 +0000 (00:36 +0100)]
Add convenience methods to get darknet, opennet, and seed peers only.

15 years agoReturn a collection instead of a set.
David ‘Bombe’ Roden [Tue, 24 Mar 2009 23:35:53 +0000 (00:35 +0100)]
Return a collection instead of a set.

15 years agoAdd accessor for “seed” property.
David ‘Bombe’ Roden [Tue, 24 Mar 2009 23:31:37 +0000 (00:31 +0100)]
Add accessor for “seed” property.

15 years agoStab at getRequests() implementationt.
David ‘Bombe’ Roden [Tue, 24 Mar 2009 22:16:52 +0000 (23:16 +0100)]
Stab at getRequests() implementationt.

15 years agoAdd get and put requests.
David ‘Bombe’ Roden [Tue, 24 Mar 2009 22:15:56 +0000 (23:15 +0100)]
Add get and put requests.

15 years agoAdd base request wrapper.
David ‘Bombe’ Roden [Tue, 24 Mar 2009 22:15:32 +0000 (23:15 +0100)]
Add base request wrapper.

15 years agoWhitespace fixes.
David ‘Bombe’ Roden [Tue, 24 Mar 2009 15:21:07 +0000 (16:21 +0100)]
Whitespace fixes.

15 years agoFormatting fixes.
David ‘Bombe’ Roden [Tue, 24 Mar 2009 15:20:57 +0000 (16:20 +0100)]
Formatting fixes.

15 years agoAdd “fatal” flag.
David ‘Bombe’ Roden [Tue, 24 Mar 2009 15:20:16 +0000 (16:20 +0100)]
Add “fatal” flag.

15 years agoEnable “WatchGlobal” mode directly after connecting.
David ‘Bombe’ Roden [Tue, 24 Mar 2009 14:53:14 +0000 (15:53 +0100)]
Enable “WatchGlobal” mode directly after connecting.

15 years agoChange method of getting persistent get requests that does not change the “WatchGloba...
David ‘Bombe’ Roden [Tue, 24 Mar 2009 14:51:39 +0000 (15:51 +0100)]
Change method of getting persistent get requests that does not change the “WatchGlobal” setting.

15 years agoAdd getGetRequests() method.
David ‘Bombe’ Roden [Thu, 19 Mar 2009 23:21:40 +0000 (00:21 +0100)]
Add getGetRequests() method.

15 years agoFactor out request identifier creation.
David ‘Bombe’ Roden [Thu, 19 Mar 2009 23:21:27 +0000 (00:21 +0100)]
Factor out request identifier creation.

15 years agoAdd generateKeyPair().
David ‘Bombe’ Roden [Thu, 19 Mar 2009 22:40:09 +0000 (23:40 +0100)]
Add generateKeyPair().

15 years agoAdd modifyPeerNote().
David ‘Bombe’ Roden [Thu, 19 Mar 2009 22:34:37 +0000 (23:34 +0100)]
Add modifyPeerNote().

15 years agoUse distinct identifier for every “ListPeers” request.
David ‘Bombe’ Roden [Thu, 19 Mar 2009 22:34:18 +0000 (23:34 +0100)]
Use distinct identifier for every “ListPeers” request.
Only react to “Peer” and “EndListPeers” messages with the same identifier.

15 years agoEnd getPeerNote() on “EndListPeerNotes” message and only store the peer note we’re...
David ‘Bombe’ Roden [Thu, 19 Mar 2009 22:05:48 +0000 (23:05 +0100)]
End getPeerNote() on “EndListPeerNotes” message and only store the peer note we’re interested in.

15 years agoFix javadoc.
David ‘Bombe’ Roden [Thu, 19 Mar 2009 22:00:10 +0000 (23:00 +0100)]
Fix javadoc.

15 years agoGet rid of local variables.
David ‘Bombe’ Roden [Thu, 19 Mar 2009 21:56:20 +0000 (22:56 +0100)]
Get rid of local variables.

15 years agoAdd getPeerNote().
David ‘Bombe’ Roden [Thu, 19 Mar 2009 21:54:35 +0000 (22:54 +0100)]
Add getPeerNote().

15 years agoAdd object wrapper.
David ‘Bombe’ Roden [Thu, 19 Mar 2009 21:53:17 +0000 (22:53 +0100)]
Add object wrapper.

15 years agoAllow inclusion of volatile and metadata when getting peers.
David ‘Bombe’ Roden [Thu, 19 Mar 2009 21:22:34 +0000 (22:22 +0100)]
Allow inclusion of volatile and metadata when getting peers.

15 years agoAdd removePeer() method.
David ‘Bombe’ Roden [Thu, 19 Mar 2009 20:45:33 +0000 (21:45 +0100)]
Add removePeer() method.

15 years agoRewrite ExtendedFcpAdapter to handle command execution.
David ‘Bombe’ Roden [Thu, 19 Mar 2009 20:45:25 +0000 (21:45 +0100)]
Rewrite ExtendedFcpAdapter to handle command execution.
Rewrite existing commands to use ExtendedFcpAdapter.

15 years agoAdd modifyPeer().
David ‘Bombe’ Roden [Thu, 19 Mar 2009 20:28:18 +0000 (21:28 +0100)]
Add modifyPeer().

15 years agoAdd addPeer() methods.
David ‘Bombe’ Roden [Thu, 19 Mar 2009 20:21:57 +0000 (21:21 +0100)]
Add addPeer() methods.

15 years agoRename “fcpAdapter” to “fcpListener”.
David ‘Bombe’ Roden [Thu, 19 Mar 2009 20:20:53 +0000 (21:20 +0100)]
Rename “fcpAdapter” to “fcpListener”.

15 years agoDon’t forget to throw the FCP exception.
David ‘Bombe’ Roden [Thu, 19 Mar 2009 20:20:14 +0000 (21:20 +0100)]
Don’t forget to throw the FCP exception.

15 years agoActually send “ListPeers” command.
David ‘Bombe’ Roden [Thu, 19 Mar 2009 20:19:25 +0000 (21:19 +0100)]
Actually send “ListPeers” command.

15 years agoAdd method getPeers().
David ‘Bombe’ Roden [Wed, 18 Mar 2009 23:48:00 +0000 (00:48 +0100)]
Add method getPeers().

15 years agoAdd try-finally block to ensure removal of FCP listener.
David ‘Bombe’ Roden [Wed, 18 Mar 2009 23:46:05 +0000 (00:46 +0100)]
Add try-finally block to ensure removal of FCP listener.

15 years agoAdd new FCP client.
David ‘Bombe’ Roden [Wed, 18 Mar 2009 23:37:11 +0000 (00:37 +0100)]
Add new FCP client.

15 years agoAdd FCP exception.
David ‘Bombe’ Roden [Wed, 18 Mar 2009 23:36:55 +0000 (00:36 +0100)]
Add FCP exception.

15 years agoUse listener manager.
David ‘Bombe’ Roden [Tue, 17 Mar 2009 23:34:32 +0000 (00:34 +0100)]
Use listener manager.

15 years agoAdd dedicated listener manager.
David ‘Bombe’ Roden [Tue, 17 Mar 2009 23:34:24 +0000 (00:34 +0100)]
Add dedicated listener manager.

15 years agoDelete old high-level client.
David ‘Bombe’ Roden [Sun, 15 Mar 2009 19:31:14 +0000 (20:31 +0100)]
Delete old high-level client.

15 years agoWhitespace and formatting fixes.
David ‘Bombe’ Roden [Thu, 19 Mar 2009 22:04:15 +0000 (23:04 +0100)]
Whitespace and formatting fixes.

15 years agoExpose “NodeIdentifier” field.
David ‘Bombe’ Roden [Thu, 19 Mar 2009 22:03:50 +0000 (23:03 +0100)]
Expose “NodeIdentifier” field.

15 years agoWhitespace and formatting fixes.
David ‘Bombe’ Roden [Thu, 19 Mar 2009 21:14:38 +0000 (22:14 +0100)]
Whitespace and formatting fixes.

15 years agoExpose all volatile and metadata fields.
David ‘Bombe’ Roden [Thu, 19 Mar 2009 21:14:17 +0000 (22:14 +0100)]
Expose all volatile and metadata fields.

15 years agoAdd test source folder.
David ‘Bombe’ Roden [Sun, 1 Feb 2009 11:59:47 +0000 (12:59 +0100)]
Add test source folder.

16 years agoDon’t try to read if there’s no filename.
David ‘Bombe’ Roden [Thu, 13 Nov 2008 20:34:43 +0000 (21:34 +0100)]
Don’t try to read if there’s no filename.

16 years agoWhitespace fixes and reformatting.
David ‘Bombe’ Roden [Thu, 13 Nov 2008 20:34:26 +0000 (21:34 +0100)]
Whitespace fixes and reformatting.

16 years agoadd isGlobal
David ‘Bombe’ Roden [Fri, 27 Jun 2008 06:26:53 +0000 (08:26 +0200)]
add isGlobal

16 years agoremove $ tag
David ‘Bombe’ Roden [Tue, 17 Jun 2008 07:08:42 +0000 (09:08 +0200)]
remove $ tag

16 years agoreformat source
David ‘Bombe’ Roden [Tue, 17 Jun 2008 07:08:27 +0000 (09:08 +0200)]
reformat source

16 years agofix email address
David ‘Bombe’ Roden [Tue, 17 Jun 2008 07:08:10 +0000 (09:08 +0200)]
fix email address

16 years agoadd temp input stream
David ‘Bombe’ Roden [Tue, 17 Jun 2008 06:59:47 +0000 (08:59 +0200)]
add temp input stream

16 years agochange email address
David ‘Bombe’ Roden [Tue, 17 Jun 2008 06:59:36 +0000 (08:59 +0200)]
change email address

16 years agoadd comment to enhance that the input stream must be consumed
David ‘Bombe’ Roden [Mon, 16 Jun 2008 20:46:31 +0000 (22:46 +0200)]
add comment to enhance that the input stream must be consumed

16 years agobe more lenient in parse message terminator
David ‘Bombe’ Roden [Sun, 15 Jun 2008 19:54:14 +0000 (21:54 +0200)]
be more lenient in parse message terminator

16 years agomake message end on a Data line
David ‘Bombe’ Roden [Sun, 15 Jun 2008 19:50:12 +0000 (21:50 +0200)]
make message end on a Data line

16 years agoimprove priority parsing
David ‘Bombe’ Roden [Sun, 25 May 2008 21:26:57 +0000 (23:26 +0200)]
improve priority parsing

16 years agoignore bin directory
David ‘Bombe’ Roden [Sun, 25 May 2008 21:26:43 +0000 (23:26 +0200)]
ignore bin directory

16 years agosettings for 1.5 version
David ‘Bombe’ Roden [Sun, 25 May 2008 21:26:19 +0000 (23:26 +0200)]
settings for 1.5 version

16 years agoforgot one file
David ‘Bombe’ Roden [Sat, 24 May 2008 22:40:51 +0000 (00:40 +0200)]
forgot one file

16 years agoremove $Id$ keyword
David ‘Bombe’ Roden [Sat, 24 May 2008 22:22:38 +0000 (00:22 +0200)]
remove $Id$ keyword

16 years agosuppress warnings
David ‘Bombe’ Roden [Fri, 23 May 2008 17:17:50 +0000 (17:17 +0000)]
suppress warnings

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@941 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agoforward generated URI to listeners
David ‘Bombe’ Roden [Fri, 23 May 2008 14:47:23 +0000 (14:47 +0000)]
forward generated URI to listeners

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@936 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agoimplement some responses that finish a request
David ‘Bombe’ Roden [Fri, 23 May 2008 12:21:00 +0000 (12:21 +0000)]
implement some responses that finish a request

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@932 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agoadd not-conncted exception
David ‘Bombe’ Roden [Mon, 19 May 2008 08:39:42 +0000 (08:39 +0000)]
add not-conncted exception

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@917 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agothrow exception if client is not connected
David ‘Bombe’ Roden [Fri, 16 May 2008 16:39:42 +0000 (16:39 +0000)]
throw exception if client is not connected

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@905 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agoset fcp connection to null if connection failed
David ‘Bombe’ Roden [Fri, 16 May 2008 13:18:44 +0000 (13:18 +0000)]
set fcp connection to null if connection failed

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@890 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agoadd emitting client to progress event
David ‘Bombe’ Roden [Wed, 14 May 2008 13:00:48 +0000 (13:00 +0000)]
add emitting client to progress event

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@875 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agofix comment
David ‘Bombe’ Roden [Wed, 14 May 2008 07:07:48 +0000 (07:07 +0000)]
fix comment

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@874 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agofire disconnected event only once
David ‘Bombe’ Roden [Wed, 14 May 2008 07:07:41 +0000 (07:07 +0000)]
fire disconnected event only once

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@873 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agomove hostname stuff to connect methods
David ‘Bombe’ Roden [Tue, 13 May 2008 22:05:54 +0000 (22:05 +0000)]
move hostname stuff to connect methods
add isConnected

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@868 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agofix npe
David ‘Bombe’ Roden [Tue, 13 May 2008 21:47:57 +0000 (21:47 +0000)]
fix npe

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@867 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agoadd listener for progress events
David ‘Bombe’ Roden [Mon, 12 May 2008 22:10:31 +0000 (22:10 +0000)]
add listener for progress events
make high-level progress non-abstract

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@857 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agomake code match documentation
David ‘Bombe’ Roden [Mon, 12 May 2008 21:58:31 +0000 (21:58 +0000)]
make code match documentation

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@856 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agoadd setWatchGlobal
David ‘Bombe’ Roden [Mon, 12 May 2008 21:54:36 +0000 (21:54 +0000)]
add setWatchGlobal

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@855 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agofix ConcurrentModificationException
David ‘Bombe’ Roden [Mon, 12 May 2008 21:49:12 +0000 (21:49 +0000)]
fix ConcurrentModificationException

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@854 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agoimplement getting list of persistent requests
David ‘Bombe’ Roden [Mon, 12 May 2008 20:43:45 +0000 (20:43 +0000)]
implement getting list of persistent requests

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@853 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agoadd Id keyword
David ‘Bombe’ Roden [Mon, 12 May 2008 20:43:15 +0000 (20:43 +0000)]
add Id keyword

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@852 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agoonly fire connection-closed event once
David ‘Bombe’ Roden [Mon, 12 May 2008 16:44:08 +0000 (16:44 +0000)]
only fire connection-closed event once

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@851 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agodon't forget to connect first, duh!
David ‘Bombe’ Roden [Sun, 4 May 2008 14:49:05 +0000 (14:49 +0000)]
don't forget to connect first, duh!

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@850 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agomemorize exception
David ‘Bombe’ Roden [Sat, 3 May 2008 22:31:16 +0000 (22:31 +0000)]
memorize exception

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@849 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agohand reason for disconnects to listeners
David ‘Bombe’ Roden [Sat, 3 May 2008 22:30:11 +0000 (22:30 +0000)]
hand reason for disconnects to listeners

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@848 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agodisconnect when the connection was closed to notify listeners
David ‘Bombe’ Roden [Sat, 3 May 2008 21:07:27 +0000 (21:07 +0000)]
disconnect when the connection was closed to notify listeners

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@847 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agodon't use deprecated method
David ‘Bombe’ Roden [Sat, 3 May 2008 20:48:29 +0000 (20:48 +0000)]
don't use deprecated method

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@846 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agoadd high-level client listener
David ‘Bombe’ Roden [Sat, 3 May 2008 20:48:01 +0000 (20:48 +0000)]
add high-level client listener

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@845 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agodon't use deprecated method
David ‘Bombe’ Roden [Sat, 3 May 2008 20:09:02 +0000 (20:09 +0000)]
don't use deprecated method

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@844 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agoimplement closeable interface
David ‘Bombe’ Roden [Sat, 3 May 2008 20:07:37 +0000 (20:07 +0000)]
implement closeable interface
deprecate disconnect() in favour of close()

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@843 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agoexpose fcp connection
David ‘Bombe’ Roden [Sat, 3 May 2008 14:43:57 +0000 (14:43 +0000)]
expose fcp connection

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@842 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agoremove warnings
David ‘Bombe’ Roden [Sat, 26 Apr 2008 11:21:37 +0000 (11:21 +0000)]
remove warnings

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@841 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agoflush only once if there's no payload
David ‘Bombe’ Roden [Sat, 26 Apr 2008 11:08:08 +0000 (11:08 +0000)]
flush only once if there's no payload

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@840 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agoadd identifier to all requests
David ‘Bombe’ Roden [Thu, 17 Apr 2008 00:34:07 +0000 (00:34 +0000)]
add identifier to all requests
start implementation of download

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@839 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agoadd some logging
David ‘Bombe’ Roden [Wed, 16 Apr 2008 07:06:05 +0000 (07:06 +0000)]
add some logging

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@838 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agoimplement direct disk access check
David ‘Bombe’ Roden [Wed, 16 Apr 2008 07:05:31 +0000 (07:05 +0000)]
implement direct disk access check

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@837 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agoadd continuous callback
David ‘Bombe’ Roden [Tue, 15 Apr 2008 23:15:49 +0000 (23:15 +0000)]
add continuous callback

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@836 c3eda9e8-030b-0410-8277-bc7414b0a119

16 years agoadd addPeer() methods
David ‘Bombe’ Roden [Tue, 15 Apr 2008 21:20:15 +0000 (21:20 +0000)]
add addPeer() methods

git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@835 c3eda9e8-030b-0410-8277-bc7414b0a119