]> git.mxchange.org Git - hub.git/log
hub.git
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

12 years agoMove NodeHelper interface, implement missing method 'isAcceptingNodeListRequests...
Roland Häder [Wed, 22 Aug 2012 19:25:28 +0000 (19:25 +0000)]
Move NodeHelper interface, implement missing method 'isAcceptingNodeListRequests' in generic code

12 years agoOpps :(
Roland Häder [Wed, 22 Aug 2012 19:13:50 +0000 (19:13 +0000)]
Opps :(

12 years agoForgot to put this back in
Roland Häder [Wed, 22 Aug 2012 19:12:04 +0000 (19:12 +0000)]
Forgot to put this back in

12 years agoIntroduced new factory for object type registries, added a very simple way to get...
Roland Häder [Wed, 22 Aug 2012 19:05:44 +0000 (19:05 +0000)]
Introduced new factory for object type registries, added a very simple way to get an array from accepted object types

12 years agoAdded comments to explain messageData array
Roland Häder [Tue, 21 Aug 2012 16:02:39 +0000 (16:02 +0000)]
Added comments to explain messageData array

12 years agoMissed to implement this :( It is really warm here ... around 30-35 degrees Celsius :(
Roland Häder [Tue, 21 Aug 2012 14:26:16 +0000 (14:26 +0000)]
Missed to implement this :( It is really warm here ... around 30-35 degrees Celsius :(

12 years agoIt is a sub-node
Roland Häder [Tue, 21 Aug 2012 14:23:24 +0000 (14:23 +0000)]
It is a sub-node

12 years agoAdded XML node 'accepted-object-types', used direct BaseHubSystem instead of 'self...
Roland Häder [Tue, 21 Aug 2012 14:21:55 +0000 (14:21 +0000)]
Added XML node 'accepted-object-types', used direct BaseHubSystem instead of 'self' because BaseStream does no longer extend BaseHubSystem

12 years agoForgot this ...
Roland Häder [Tue, 21 Aug 2012 14:15:54 +0000 (14:15 +0000)]
Forgot this ...

12 years agoTypo in node-mode in XML, adding missing methods, class constant, array element
Roland Häder [Tue, 21 Aug 2012 14:14:43 +0000 (14:14 +0000)]
Typo in node-mode in XML, adding missing methods, class constant, array element

12 years agoAdded missing exception
Roland Häder [Sun, 19 Aug 2012 14:44:23 +0000 (14:44 +0000)]
Added missing exception

12 years agoAdded missing methods (as partial stubs)
Roland Häder [Sun, 19 Aug 2012 14:38:55 +0000 (14:38 +0000)]
Added missing methods (as partial stubs)

12 years agoAdded NodeMessageRequestNodeListHandler (unfinished)
Roland Häder [Sun, 19 Aug 2012 14:16:49 +0000 (14:16 +0000)]
Added NodeMessageRequestNodeListHandler (unfinished)

12 years agoFixed error (opps)
Roland Häder [Sun, 19 Aug 2012 13:52:08 +0000 (13:52 +0000)]
Fixed error (opps)

12 years agoDevelopment/refacturing continued:
Roland Häder [Sun, 19 Aug 2012 13:47:56 +0000 (13:47 +0000)]
Development/refacturing continued:
- Added more generic (BaseFooFilter) classes for foo filter (node, chat,
  cruncher)
- Made code in method 'processMessage()' generic and moved to
  'BaseHubFilter:genericProcessMessage()' (no static call!!!)
- Added package tag filter for 'request_node_list' tag

12 years agoMoved setter/getter and attribute itself 'packageTags' to a more generic class BaseHu...
Roland Häder [Sun, 19 Aug 2012 11:52:42 +0000 (11:52 +0000)]
Moved setter/getter and attribute itself 'packageTags' to a more generic class BaseHubHelper, introduced validateNodeStateIsAnnouncementCompleted

12 years agoDevelopment of 'hub' project continued:
Roland Häder [Sat, 18 Aug 2012 21:08:38 +0000 (21:08 +0000)]
Development of 'hub' project continued:
- Added helper for receiving node list
- Added XML for above helper (unfinished)
- Added template engine ("frontend class") for above XML
- Added more missing configuration entries

12 years agoAdded packageInstance (interface Receivable) to allow prepareNextMessage() (newly...
Roland Häder [Sat, 18 Aug 2012 18:52:56 +0000 (18:52 +0000)]
Added packageInstance (interface Receivable) to allow prepareNextMessage() (newly added) send out the 'next' message

12 years agoAdded NodeAnnouncementCompletedState which will be the next after 'announced' to...
Roland Häder [Sat, 18 Aug 2012 16:44:16 +0000 (16:44 +0000)]
Added NodeAnnouncementCompletedState which will be the next after 'announced' to signal that the announcement to bootstap node(s) has successful completed

12 years agoAdded node mode to node desriptor
Roland Häder [Sat, 18 Aug 2012 12:38:52 +0000 (12:38 +0000)]
Added node mode to node desriptor

12 years agoAdded two generic elements to node-list table
Roland Häder [Fri, 17 Aug 2012 21:20:23 +0000 (21:20 +0000)]
Added two generic elements to node-list table

12 years agoUsed more generic interface 'Handleable'
Roland Häder [Fri, 17 Aug 2012 20:14:40 +0000 (20:14 +0000)]
Used more generic interface 'Handleable'

12 years agoRenamed exception, added new one
Roland Häder [Fri, 17 Aug 2012 20:11:29 +0000 (20:11 +0000)]
Renamed exception, added new one

12 years agoAdded interface HandleableAnswerStatus and class AnnouncementAnswerOkayHandler (unfin...
Roland Häder [Fri, 17 Aug 2012 18:28:37 +0000 (18:28 +0000)]
Added interface HandleableAnswerStatus and class AnnouncementAnswerOkayHandler (unfinished)

12 years agoAdded missing method nodeAnnouncedToUpperHubs to state NodeReachableState, fixed...
Roland Häder [Thu, 16 Aug 2012 18:58:04 +0000 (18:58 +0000)]
Added missing method nodeAnnouncedToUpperHubs to state NodeReachableState, fixed wrong array elements

12 years agoExceptions got moved to 'core' as well
Roland Häder [Fri, 10 Aug 2012 15:10:43 +0000 (15:10 +0000)]
Exceptions got moved to 'core' as well

12 years agoAdded 'base' classes for answer-status handlers
Roland Häder [Tue, 7 Aug 2012 20:38:39 +0000 (20:38 +0000)]
Added 'base' classes for answer-status handlers

12 years agoAdded message type to messageData array for easier handling, some comments improved
Roland Häder [Tue, 7 Aug 2012 18:41:45 +0000 (18:41 +0000)]
Added message type to messageData array for easier handling, some comments improved

12 years agoCommented out even more
Roland Häder [Tue, 7 Aug 2012 16:31:15 +0000 (16:31 +0000)]
Commented out even more

12 years agoCommented out some 'noisy' debug lines
Roland Häder [Tue, 7 Aug 2012 16:28:32 +0000 (16:28 +0000)]
Commented out some 'noisy' debug lines

12 years agoRemove last CHUNK_SEPARATOR or else the final chunk will be empty ...
Roland Häder [Tue, 7 Aug 2012 16:26:55 +0000 (16:26 +0000)]
Remove last CHUNK_SEPARATOR or else the final chunk will be empty ...

12 years agoNow use a try/catch block
Roland Häder [Tue, 7 Aug 2012 16:23:54 +0000 (16:23 +0000)]
Now use a try/catch block

12 years agoRenamed some methods to make them more clear
Roland Häder [Tue, 7 Aug 2012 16:13:14 +0000 (16:13 +0000)]
Renamed some methods to make them more clear

12 years agoDo not call handlePackageByUnhandledPackage() directly, this caused decoding of alrea...
Roland Häder [Tue, 7 Aug 2012 16:11:18 +0000 (16:11 +0000)]
Do not call handlePackageByUnhandledPackage() directly, this caused decoding of already decoded data

12 years agoMoved log message before assert
Roland Häder [Tue, 7 Aug 2012 15:56:54 +0000 (15:56 +0000)]
Moved log message before assert

12 years agoAdded another one :(
Roland Häder [Tue, 7 Aug 2012 15:49:27 +0000 (15:49 +0000)]
Added another one :(

12 years agoAdded noisy debug line
Roland Häder [Tue, 7 Aug 2012 15:44:55 +0000 (15:44 +0000)]
Added noisy debug line

12 years agoMoved generic base classes from 'hub' project to core
Roland Häder [Tue, 7 Aug 2012 15:41:44 +0000 (15:41 +0000)]
Moved generic base classes from 'hub' project to core

12 years agoTypo fixed :(
Roland Häder [Tue, 7 Aug 2012 15:36:20 +0000 (15:36 +0000)]
Typo fixed :(

12 years agoRawDataInputStream does now throw exceptions if the BASE64-encoded data is not well...
Roland Häder [Tue, 7 Aug 2012 15:34:58 +0000 (15:34 +0000)]
RawDataInputStream does now throw exceptions if the BASE64-encoded data is not well-formed

12 years agoUsed exit() instead of die()
Roland Häder [Tue, 7 Aug 2012 00:21:28 +0000 (00:21 +0000)]
Used exit() instead of die()

12 years agoAdded missing package (Networkable) instance
Roland Häder [Sat, 4 Aug 2012 23:44:09 +0000 (23:44 +0000)]
Added missing package (Networkable) instance

12 years agoNow the package assembler is deocoding the finished stream
Roland Häder [Sat, 4 Aug 2012 23:42:35 +0000 (23:42 +0000)]
Now the package assembler is deocoding the finished stream

12 years agoRenamed more ...
Roland Häder [Sat, 4 Aug 2012 23:30:35 +0000 (23:30 +0000)]
Renamed more ...

12 years agoRenamed methods (MAY BREAK THINGS)
Roland Häder [Sat, 4 Aug 2012 23:29:11 +0000 (23:29 +0000)]
Renamed methods (MAY BREAK THINGS)

12 years agoIntroduced isPackageContentCompleted()
Roland Häder [Sat, 4 Aug 2012 23:20:23 +0000 (23:20 +0000)]
Introduced isPackageContentCompleted()

12 years agoHandle AssertionException and copy the raw data (do not decode partial data)
Roland Häder [Sat, 4 Aug 2012 23:13:14 +0000 (23:13 +0000)]
Handle AssertionException and copy the raw data (do not decode partial data)

12 years agoAlso remove both (opps)
Roland Häder [Sat, 4 Aug 2012 23:10:01 +0000 (23:10 +0000)]
Also remove both (opps)

12 years agoAdded start ([[S]]) and end ([[E]]) marker for BASE64 stream
Roland Häder [Sat, 4 Aug 2012 23:08:16 +0000 (23:08 +0000)]
Added start ([[S]]) and end ([[E]]) marker for BASE64 stream

12 years agoAdded debug line to see the data
Roland Häder [Sat, 4 Aug 2012 22:52:52 +0000 (22:52 +0000)]
Added debug line to see the data

12 years agoAdded MD5 hashes only for debugging purposes
Roland Häder [Sat, 4 Aug 2012 22:44:23 +0000 (22:44 +0000)]
Added MD5 hashes only for debugging purposes

12 years agoRe-enabled even more debug lines (that is why you should never delete your debug...
Roland Häder [Sat, 4 Aug 2012 22:29:51 +0000 (22:29 +0000)]
Re-enabled even more debug lines (that is why you should never delete your debug-lines, so you can easily re-enable them)

12 years agoAdded another one ...
Roland Häder [Sat, 4 Aug 2012 22:25:36 +0000 (22:25 +0000)]
Added another one ...

12 years agoRewrote debug lines (even more), re-enabled debugging lines in socket layer
Roland Häder [Sat, 4 Aug 2012 22:22:55 +0000 (22:22 +0000)]
Rewrote debug lines (even more), re-enabled debugging lines in socket layer

12 years agoAdded debug line
Roland Häder [Sat, 4 Aug 2012 22:14:37 +0000 (22:14 +0000)]
Added debug line

12 years agoAdded switch to disable (default=disable) publishing of internal (private) IP address...
Roland Häder [Fri, 3 Aug 2012 19:53:18 +0000 (19:53 +0000)]
Added switch to disable (default=disable) publishing of internal (private) IP address. You MUST use this when you run a bootstrap node on your LAN

12 years agoIntroduced self::createDebugInstance()
Roland Häder [Tue, 31 Jul 2012 22:12:18 +0000 (22:12 +0000)]
Introduced self::createDebugInstance()

12 years agoFix for InvalidXmlNodeException (my-session-id)
Roland Häder [Sat, 21 Jul 2012 09:32:37 +0000 (09:32 +0000)]
Fix for InvalidXmlNodeException (my-session-id)

12 years agoMove array initialization into constructor to allow usage of constants
Roland Häder [Tue, 17 Jul 2012 18:51:02 +0000 (18:51 +0000)]
Move array initialization into constructor to allow usage of constants

12 years agoImportant todo added
Roland Häder [Tue, 17 Jul 2012 18:26:07 +0000 (18:26 +0000)]
Important todo added

12 years agoOpps ...
Roland Häder [Tue, 17 Jul 2012 18:11:36 +0000 (18:11 +0000)]
Opps ...

12 years agoThe announcement answer is now half handled, registration (more update) of the node...
Roland Häder [Tue, 17 Jul 2012 18:10:50 +0000 (18:10 +0000)]
The announcement answer is now half handled, registration (more update) of the node is implement, handling the answer status is not yet finished

12 years agoHub project continued: (I have now a little more time)
Roland Häder [Sat, 7 Jul 2012 23:40:20 +0000 (23:40 +0000)]
Hub project continued: (I have now a little more time)
- Added generting of a private key and its hash. This private key will be used
  instead of the node id for encryption and decryption.
- Fixed updating node information table (a search instance is needed for
  "UPDATE")
- TODOs.txt updated

12 years agoFix for missing external IP address. This way makes it still possible to set an own...
Roland Häder [Tue, 3 Jul 2012 21:28:13 +0000 (21:28 +0000)]
Fix for missing external IP address. This way makes it still possible to set an own one, like dynamic hostnames

12 years agoSet it only when empty to allow custom entries again
Roland Häder [Mon, 2 Jul 2012 19:42:26 +0000 (19:42 +0000)]
Set it only when empty to allow custom entries again

12 years agoBetter proxy support, detection of external IP moved to application helper class...
Roland Häder [Mon, 2 Jul 2012 19:14:49 +0000 (19:14 +0000)]
Better proxy support, detection of external IP moved to application helper class, fixed instancing configuration class

12 years agoANNOUNCEMENT_DATA_ANSWER_STATUS added
Roland Häder [Wed, 27 Jun 2012 17:24:31 +0000 (17:24 +0000)]
ANNOUNCEMENT_DATA_ANSWER_STATUS added

12 years agoIntroduced updateNodeData() to update/refresh node data ... ;)
Roland Häder [Wed, 27 Jun 2012 17:17:06 +0000 (17:17 +0000)]
Introduced updateNodeData() to update/refresh node data ... ;)

12 years agoI forgot what this was
Roland Häder [Tue, 26 Jun 2012 15:37:28 +0000 (15:37 +0000)]
I forgot what this was

12 years agoRe-renamed :(
Roland Häder [Tue, 26 Jun 2012 15:35:22 +0000 (15:35 +0000)]
Re-renamed :(

12 years agoSome renames
Roland Häder [Tue, 26 Jun 2012 14:50:55 +0000 (14:50 +0000)]
Some renames

12 years agoFix for non-bootstrap node that is going to announce to upper nodes
Roland Häder [Tue, 26 Jun 2012 14:35:08 +0000 (14:35 +0000)]
Fix for non-bootstrap node that is going to announce to upper nodes

12 years agoNoisy debug line commented out, adding to much 'upper hubs' will result in a warning...
Roland Häder [Sat, 2 Jun 2012 22:29:08 +0000 (22:29 +0000)]
Noisy debug line commented out, adding to much 'upper hubs' will result in a warning message and abort

12 years agoAdded search (criteria) instance to updateNodeByMessageData() to make updates possible
Roland Häder [Wed, 30 May 2012 21:26:47 +0000 (21:26 +0000)]
Added search (criteria) instance to updateNodeByMessageData() to make updates possible

12 years agoDon't miss it ... :(
Roland Häder [Wed, 30 May 2012 21:15:23 +0000 (21:15 +0000)]
Don't miss it ... :(