]> git.mxchange.org Git - hub.git/log
hub.git
11 years agoForgot these to fix, anyway that exception should not come :(
Roland Häder [Sun, 10 Feb 2013 17:15:42 +0000 (17:15 +0000)]
Forgot these to fix, anyway that exception should not come :(

11 years agoResurrected two methods for DHT database wrapper and used them
Roland Häder [Sun, 10 Feb 2013 17:11:36 +0000 (17:11 +0000)]
Resurrected two methods for DHT database wrapper and used them

11 years ago'this' is not available in static methods, so get an own instance first
Roland Häder [Sun, 10 Feb 2013 04:15:02 +0000 (04:15 +0000)]
'this' is not available in static methods, so get an own instance first

11 years agoUse set DHT instance to shortcut a little
Roland Häder [Sun, 10 Feb 2013 04:11:16 +0000 (04:11 +0000)]
Use set DHT instance to shortcut a little

11 years agoIgnore data in here
Roland Häder [Sun, 10 Feb 2013 03:37:52 +0000 (03:37 +0000)]
Ignore data in here

11 years agoIntroduced and implemented findNodeBySessionId()
Roland Häder [Sun, 10 Feb 2013 03:17:27 +0000 (03:17 +0000)]
Introduced and implemented findNodeBySessionId()

11 years agoImplemented (very basic) registerLocalNode() and updateLocalNode()
Roland Häder [Sun, 10 Feb 2013 02:51:30 +0000 (02:51 +0000)]
Implemented (very basic) registerLocalNode() and updateLocalNode()

11 years agoIntroduced (cached) method ifNodeDataIsFound()
Roland Häder [Sat, 9 Feb 2013 18:52:14 +0000 (18:52 +0000)]
Introduced (cached) method ifNodeDataIsFound()

11 years agoAdded commented out option to enable intranet usage
Roland Häder [Fri, 8 Feb 2013 18:06:52 +0000 (18:06 +0000)]
Added commented out option to enable intranet usage

11 years agoAdded optional (here used) parameter
Roland Häder [Fri, 8 Feb 2013 17:25:04 +0000 (17:25 +0000)]
Added optional (here used)  parameter

11 years agoOpps, missed this :(
Roland Häder [Fri, 8 Feb 2013 14:59:43 +0000 (14:59 +0000)]
Opps, missed this :(

11 years agoSome typos
Roland Häder [Fri, 8 Feb 2013 01:01:38 +0000 (01:01 +0000)]
Some typos

11 years agoProtocol is no longer required for these methods
Roland Häder [Thu, 7 Feb 2013 23:55:23 +0000 (23:55 +0000)]
Protocol is no longer required for these methods

11 years agoAdded interface, rewrote some parts:
Roland Häder [Thu, 7 Feb 2013 22:50:09 +0000 (22:50 +0000)]
Added interface, rewrote some parts:
- Introduced interface UnitDatabaseWrapper
- Rewrote wrapper instanciation by using specialized object factory
- Some other minor rewrites/fixes

11 years agoRewrites, some more methods:
Roland Häder [Thu, 7 Feb 2013 21:36:13 +0000 (21:36 +0000)]
Rewrites, some more methods:
- Added missing database "table" 'node_dht'
- Added methods for local node data handling
- There is now no more need for separate TCP/UDP ports

11 years agoAdded prefix to allow more than one DHT instance
Roland Häder [Thu, 7 Feb 2013 20:32:55 +0000 (20:32 +0000)]
Added prefix to allow more than one DHT instance

11 years agoExtend DatabaseWrapper interface to make all database wrappers equal
Roland Häder [Thu, 7 Feb 2013 20:15:11 +0000 (20:15 +0000)]
Extend DatabaseWrapper interface to make all database wrappers equal

11 years agoAdded wrapper, rewrites:
Roland Häder [Thu, 7 Feb 2013 19:57:01 +0000 (19:57 +0000)]
Added wrapper, rewrites:
- Added database wrapper for node DHT
- Rewrote node_info_db wrapper to use special factory and not generic

11 years agoAdded DHT initialization task (see comments below):
Roland Häder [Thu, 7 Feb 2013 18:28:17 +0000 (18:28 +0000)]
Added DHT initialization task (see comments below):
- The DHT initialization task is for preparing the DHT (if not yet done) in a
  very early state ("virgin" state) and inserts/updates node's current data as
  the first entry. With this data the node "knowns" only itself, not even the
  upper nodes. They will be added later on.
- Renamed instance 'task' to 'task_handler' as it is always a task handler
  class
- Other minor improvements

11 years agoAlso set a DHT instance (same) in this class
Roland Häder [Wed, 6 Feb 2013 18:54:49 +0000 (18:54 +0000)]
Also set a DHT instance (same) in this class

11 years agoThe DHT query task is now holding an instance of the DHT facade (to speed-up things)
Roland Häder [Mon, 4 Feb 2013 19:57:09 +0000 (19:57 +0000)]
The DHT query task is now holding an instance of the DHT facade (to speed-up things)

11 years agoSome speed-up hacks
Roland Häder [Sun, 3 Feb 2013 05:58:03 +0000 (05:58 +0000)]
Some speed-up hacks

11 years agoRenamed filter (no self_announcement, just plain announcement)
Roland Häder [Sat, 2 Feb 2013 00:18:35 +0000 (00:18 +0000)]
Renamed filter (no self_announcement, just plain announcement)

11 years agoOpps ... :( #2
Roland Häder [Fri, 1 Feb 2013 23:05:34 +0000 (23:05 +0000)]
Opps ... :( #2

11 years agoOpps ... :(
Roland Häder [Fri, 1 Feb 2013 23:04:58 +0000 (23:04 +0000)]
Opps ... :(

11 years agoAdded empty task for DHT bootstrapping
Roland Häder [Fri, 1 Feb 2013 23:02:37 +0000 (23:02 +0000)]
Added empty task for DHT bootstrapping

11 years agoOpps, forgot this :(
Roland Häder [Fri, 1 Feb 2013 22:52:26 +0000 (22:52 +0000)]
Opps, forgot this :(

11 years agoRemoved also deprecated queues/queries as there are now stacks
Roland Häder [Fri, 1 Feb 2013 22:50:01 +0000 (22:50 +0000)]
Removed also deprecated queues/queries as there are now stacks

11 years agoRemoved deprecated array (very old code)
Roland Häder [Fri, 1 Feb 2013 10:38:27 +0000 (10:38 +0000)]
Removed deprecated array (very old code)

11 years agoThis is still okay
Roland Häder [Thu, 31 Jan 2013 23:04:26 +0000 (23:04 +0000)]
This is still okay

11 years agoClasses moved/renamed:
Roland Häder [Thu, 31 Jan 2013 22:44:04 +0000 (22:44 +0000)]
Classes moved/renamed:
- A lot classes 'HubFooBar' renamed to 'NodeFooBar'
- Added empty (flooding!) DHT query task
- TODOs.txt updated

11 years agoThis is a new idea to rewrite bootstrapping, the DHT will become an own task
Roland Häder [Thu, 31 Jan 2013 15:50:48 +0000 (15:50 +0000)]
This is a new idea to rewrite bootstrapping, the DHT will become an own task

11 years agoRemove deprecated directory (it will be replaced by DHT)
Roland Häder [Thu, 31 Jan 2013 15:44:57 +0000 (15:44 +0000)]
Remove deprecated directory (it will be replaced by DHT)

11 years agoClear redundant database wrapper class as it is now done in DHT
Roland Häder [Thu, 31 Jan 2013 15:44:05 +0000 (15:44 +0000)]
Clear redundant database wrapper class as it is now done in DHT

11 years agoRenamed
Roland Häder [Wed, 30 Jan 2013 23:29:38 +0000 (23:29 +0000)]
Renamed

11 years agoAlso set this to '.xml' to speed-up things a little
Roland Häder [Wed, 30 Jan 2013 23:06:33 +0000 (23:06 +0000)]
Also set this to '.xml' to speed-up things a little

11 years agoAdded possible way of adding a node list to this template
Roland Häder [Wed, 30 Jan 2013 22:54:30 +0000 (22:54 +0000)]
Added possible way of adding a node list to this template

11 years agoAdded missing but not yet fully implemented class
Roland Häder [Wed, 30 Jan 2013 22:37:04 +0000 (22:37 +0000)]
Added missing but not yet fully implemented class

11 years agoAdded it also here :(
Roland Häder [Wed, 30 Jan 2013 22:26:37 +0000 (22:26 +0000)]
Added it also here :(

11 years agoRe-added answer_status generically
Roland Häder [Wed, 30 Jan 2013 22:20:15 +0000 (22:20 +0000)]
Re-added answer_status generically

11 years agoRemoved it also here ...
Roland Häder [Wed, 30 Jan 2013 21:50:32 +0000 (21:50 +0000)]
Removed it also here ...

11 years agoField answer_status becomes more generic now
Roland Häder [Wed, 30 Jan 2013 21:48:53 +0000 (21:48 +0000)]
Field answer_status becomes more generic now

11 years agoAdded answer status
Roland Häder [Wed, 30 Jan 2013 21:29:55 +0000 (21:29 +0000)]
Added answer status

11 years agoRemoved answer-status from XML templates as it will become generic
Roland Häder [Wed, 30 Jan 2013 21:23:06 +0000 (21:23 +0000)]
Removed answer-status from XML templates as it will become generic

11 years agoAdded missing array elements for tag filter
Roland Häder [Wed, 30 Jan 2013 21:18:17 +0000 (21:18 +0000)]
Added missing array elements for tag filter

11 years agoDon't use 'my-' as long as you don't need it
Roland Häder [Wed, 30 Jan 2013 21:06:46 +0000 (21:06 +0000)]
Don't use 'my-' as long as you don't need it

11 years agoAdded handling methods, implemented configuration copy/removal methods
Roland Häder [Wed, 30 Jan 2013 20:42:18 +0000 (20:42 +0000)]
Added handling methods, implemented configuration copy/removal methods

11 years agoAdded basic XML elements (not all fully supported)
Roland Häder [Wed, 30 Jan 2013 20:17:00 +0000 (20:17 +0000)]
Added basic XML elements (not all fully supported)

11 years agoAdded more debug lines (noisy)
Roland Häder [Wed, 30 Jan 2013 19:59:24 +0000 (19:59 +0000)]
Added more debug lines (noisy)

11 years agoUse createDebugInstance() instead of direct debugOutput() method, removed DHT instanc...
Roland Häder [Thu, 20 Dec 2012 22:59:35 +0000 (22:59 +0000)]
Use createDebugInstance() instead of direct debugOutput() method, removed DHT instance as it will be moved to some other place (where it would make sense)

11 years agoUsed correct method name
Roland Häder [Thu, 20 Dec 2012 22:32:32 +0000 (22:32 +0000)]
Used correct method name

11 years agoGlobal fix for generating right class name for controller resolver (to make that...
Roland Häder [Thu, 20 Dec 2012 21:41:41 +0000 (21:41 +0000)]
Global fix for generating right class name for controller resolver (to make that code part more generic and later move out to 'core' project as a new class/method)

11 years agoIgnore all here
Roland Häder [Thu, 20 Dec 2012 21:31:42 +0000 (21:31 +0000)]
Ignore all here

11 years agoUpdated ApplicationHelper class to latest API
Roland Häder [Thu, 20 Dec 2012 21:18:49 +0000 (21:18 +0000)]
Updated ApplicationHelper class to latest API

11 years agoUpdated TODOs.txt
Roland Häder [Tue, 13 Nov 2012 22:45:32 +0000 (22:45 +0000)]
Updated TODOs.txt

11 years agoThe old state check was still required here, so re-add it
Roland Häder [Mon, 12 Nov 2012 17:11:14 +0000 (17:11 +0000)]
The old state check was still required here, so re-add it

11 years agoBetter check against if the node has completed announcement
Roland Häder [Mon, 12 Nov 2012 17:06:00 +0000 (17:06 +0000)]
Better check against if the node has completed announcement

11 years agoProject 'hub' continued (a little):
Roland Häder [Mon, 12 Nov 2012 01:38:26 +0000 (01:38 +0000)]
Project 'hub' continued (a little):
- Added missing class constant
- Added missing exception NoRequestNodeListAttemptedException
- Added debug lines

11 years agoRenamed to avoid confusion
Roland Häder [Fri, 9 Nov 2012 19:16:31 +0000 (19:16 +0000)]
Renamed to avoid confusion

11 years agoRenamed interface 'Dht' to 'Distributable' (sorry for being inactive here)
Roland Häder [Fri, 9 Nov 2012 19:13:18 +0000 (19:13 +0000)]
Renamed interface 'Dht' to 'Distributable' (sorry for being inactive here)

12 years agoUsed str_pad() instead of prependStringToString()
Roland Häder [Tue, 18 Sep 2012 13:54:22 +0000 (13:54 +0000)]
Used str_pad() instead of prependStringToString()

12 years agoMinor: Updated todo
Roland Häder [Fri, 31 Aug 2012 22:10:35 +0000 (22:10 +0000)]
Minor: Updated todo

12 years agoRenamed methods
Roland Häder [Fri, 31 Aug 2012 21:47:44 +0000 (21:47 +0000)]
Renamed methods

12 years agoAdded (unfinished) DHT class
Roland Häder [Mon, 27 Aug 2012 22:20:45 +0000 (22:20 +0000)]
Added (unfinished) DHT class

12 years agoRefactured random string generation to introduced method generateRamdomString()
Roland Häder [Sun, 26 Aug 2012 21:46:00 +0000 (21:46 +0000)]
Refactured random string generation to introduced method generateRamdomString()

12 years agoIntroduced DHT (maybe own implementation, maybe Kademlia, who knows?). In the next...
Roland Häder [Sun, 26 Aug 2012 20:52:08 +0000 (20:52 +0000)]
Introduced DHT (maybe own implementation, maybe Kademlia, who knows?). In the next time all direct calls to the node list wrapper class will be rewritten to use a more easy interface from the DHT class

12 years agoMINOR: Copy&pastwe mistage fixed
Roland Häder [Sun, 26 Aug 2012 20:23:48 +0000 (20:23 +0000)]
MINOR: Copy&pastwe mistage fixed

12 years agoNo need for calling ->getTemplateInstance() if is in same scope
Roland Häder [Sun, 26 Aug 2012 20:18:38 +0000 (20:18 +0000)]
No need for calling ->getTemplateInstance() if  is in same scope

12 years agoAdded nodeInstance parameter (NodeHelper interface) to all loadDescriptorXml() method...
Roland Häder [Sun, 26 Aug 2012 20:11:47 +0000 (20:11 +0000)]
Added nodeInstance parameter (NodeHelper interface) to all loadDescriptorXml() methods (and interface) to allow access on its methods without using the factory

12 years agoAdded missing config entries
Roland Häder [Sun, 26 Aug 2012 19:50:14 +0000 (19:50 +0000)]
Added missing config entries

12 years agoOpps :(
Roland Häder [Sun, 26 Aug 2012 19:46:57 +0000 (19:46 +0000)]
Opps :(

12 years agoAdded template class for entries in a request-node-list
Roland Häder [Sun, 26 Aug 2012 19:45:38 +0000 (19:45 +0000)]
Added template class for entries in a request-node-list

12 years agoAdded very basic documentation for apt-proxy, other minor fixes
Roland Häder [Sun, 26 Aug 2012 15:29:22 +0000 (15:29 +0000)]
Added very basic documentation for apt-proxy, other minor fixes

12 years agoAdded unfinished template engine to handle answer message on request-node-list message
Roland Häder [Sun, 26 Aug 2012 15:05:32 +0000 (15:05 +0000)]
Added unfinished template engine to handle answer message on request-node-list message

12 years agoIntroduced experimental apt-proxy sub project (a connector for apt-proxy usage into...
Roland Häder [Sun, 26 Aug 2012 14:55:34 +0000 (14:55 +0000)]
Introduced experimental apt-proxy sub project (a connector for apt-proxy usage into node network)

12 years agoRemoved comments as they are no longer needed, added answer object type
Roland Häder [Sun, 26 Aug 2012 11:43:37 +0000 (11:43 +0000)]
Removed comments as they are no longer needed, added answer object type

12 years agoFull backtrace now
Roland Häder [Sun, 26 Aug 2012 11:41:38 +0000 (11:41 +0000)]
Full backtrace now

12 years agoDon't forget 'answer' for message answers
Roland Häder [Sun, 26 Aug 2012 11:41:17 +0000 (11:41 +0000)]
Don't forget 'answer' for message answers

12 years agoUpdated class template for XML template engine classes
Roland Häder [Wed, 22 Aug 2012 21:33:49 +0000 (21:33 +0000)]
Updated class template for XML template engine classes

12 years agoAdded missing config entries and XML (unfinished)
Roland Häder [Wed, 22 Aug 2012 21:31:59 +0000 (21:31 +0000)]
Added missing config entries and XML (unfinished)

12 years agoAlso this file doesn't match and cannot be loaded with generic loadXmlTemplate()...
Roland Häder [Wed, 22 Aug 2012 21:24:43 +0000 (21:24 +0000)]
Also this file doesn't match and cannot be loaded with generic loadXmlTemplate() method

12 years agoself_announcement doesn't fit new naming sceme
Roland Häder [Wed, 22 Aug 2012 21:22:57 +0000 (21:22 +0000)]
self_announcement doesn't fit new naming sceme

12 years agoRemove these now
Roland Häder [Wed, 22 Aug 2012 21:21:38 +0000 (21:21 +0000)]
Remove these now

12 years agoAlso missed this to rename to loadXmlTemplate() :(
Roland Häder [Wed, 22 Aug 2012 21:20:11 +0000 (21:20 +0000)]
Also missed this to rename to loadXmlTemplate() :(

12 years agoUsed some elements for this engine
Roland Häder [Wed, 22 Aug 2012 21:16:31 +0000 (21:16 +0000)]
Used some elements for this engine

12 years agoAlso loadXmlTemplate() is now very generic (so maybe it can be moved to 'core'?)
Roland Häder [Wed, 22 Aug 2012 21:14:29 +0000 (21:14 +0000)]
Also loadXmlTemplate() is now very generic (so maybe it can be moved to 'core'?)

12 years agoOpps #1001 ...
Roland Häder [Wed, 22 Aug 2012 21:04:20 +0000 (21:04 +0000)]
Opps #1001 ...

12 years agoAlso this method can be cleaned and genericProcessMessage() be used
Roland Häder [Wed, 22 Aug 2012 21:03:18 +0000 (21:03 +0000)]
Also this method can be cleaned and genericProcessMessage() be used

12 years agoOpps :(
Roland Häder [Wed, 22 Aug 2012 21:00:39 +0000 (21:00 +0000)]
Opps :(

12 years agoRenamed again a bunch of methods to generic 'readXmlData' name
Roland Häder [Wed, 22 Aug 2012 20:59:17 +0000 (20:59 +0000)]
Renamed again a bunch of methods to generic 'readXmlData' name

12 years agoRenamed
Roland Häder [Wed, 22 Aug 2012 20:56:00 +0000 (20:56 +0000)]
Renamed

12 years agoMore fixes, renames
Roland Häder [Wed, 22 Aug 2012 20:53:59 +0000 (20:53 +0000)]
More fixes, renames

12 years agoMore fixes: private->protected changed, generic init of stacker
Roland Häder [Wed, 22 Aug 2012 20:48:49 +0000 (20:48 +0000)]
More fixes: private->protected changed, generic init of stacker

12 years agoUnderscore to much
Roland Häder [Wed, 22 Aug 2012 20:40:50 +0000 (20:40 +0000)]
Underscore to much

12 years agoAlso this ...
Roland Häder [Wed, 22 Aug 2012 20:39:38 +0000 (20:39 +0000)]
Also this ...

12 years agoForgot this ... :(
Roland Häder [Wed, 22 Aug 2012 20:37:13 +0000 (20:37 +0000)]
Forgot this ... :(

12 years agoRefactured a lot methods to become more generic (eventually BaseXmlTemplateEngine...
Roland Häder [Wed, 22 Aug 2012 20:31:30 +0000 (20:31 +0000)]
Refactured a lot methods to become more generic (eventually BaseXmlTemplateEngine will be moved to 'core' project)

12 years agoAdded helper for sending out 'request-node-list' answers
Roland Häder [Wed, 22 Aug 2012 19:53:12 +0000 (19:53 +0000)]
Added helper for sending out 'request-node-list' answers

12 years agoAdded missing dataXmlNodes array, added debug line
Roland Häder [Wed, 22 Aug 2012 19:43:07 +0000 (19:43 +0000)]
Added missing dataXmlNodes array, added debug line

12 years agoAdded (maybe right?) array elements
Roland Häder [Wed, 22 Aug 2012 19:32:28 +0000 (19:32 +0000)]
Added (maybe right?) array elements