]>
git.mxchange.org Git - hub.git/log
Roland Häder [Sun, 26 Aug 2012 11:41:17 +0000 (11:41 +0000)]
Don't forget 'answer' for message answers
Roland Häder [Wed, 22 Aug 2012 21:33:49 +0000 (21:33 +0000)]
Updated class template for XML template engine classes
Roland Häder [Wed, 22 Aug 2012 21:31:59 +0000 (21:31 +0000)]
Added missing config entries and XML (unfinished)
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
Roland Häder [Wed, 22 Aug 2012 21:22:57 +0000 (21:22 +0000)]
self_announcement doesn't fit new naming sceme
Roland Häder [Wed, 22 Aug 2012 21:21:38 +0000 (21:21 +0000)]
Remove these now
Roland Häder [Wed, 22 Aug 2012 21:20:11 +0000 (21:20 +0000)]
Also missed this to rename to loadXmlTemplate() :(
Roland Häder [Wed, 22 Aug 2012 21:16:31 +0000 (21:16 +0000)]
Used some elements for this engine
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'?)
Roland Häder [Wed, 22 Aug 2012 21:04:20 +0000 (21:04 +0000)]
Opps #1001 ...
Roland Häder [Wed, 22 Aug 2012 21:03:18 +0000 (21:03 +0000)]
Also this method can be cleaned and genericProcessMessage() be used
Roland Häder [Wed, 22 Aug 2012 21:00:39 +0000 (21:00 +0000)]
Opps :(
Roland Häder [Wed, 22 Aug 2012 20:59:17 +0000 (20:59 +0000)]
Renamed again a bunch of methods to generic 'readXmlData' name
Roland Häder [Wed, 22 Aug 2012 20:56:00 +0000 (20:56 +0000)]
Renamed
Roland Häder [Wed, 22 Aug 2012 20:53:59 +0000 (20:53 +0000)]
More fixes, renames
Roland Häder [Wed, 22 Aug 2012 20:48:49 +0000 (20:48 +0000)]
More fixes: private->protected changed, generic init of stacker
Roland Häder [Wed, 22 Aug 2012 20:40:50 +0000 (20:40 +0000)]
Underscore to much
Roland Häder [Wed, 22 Aug 2012 20:39:38 +0000 (20:39 +0000)]
Also this ...
Roland Häder [Wed, 22 Aug 2012 20:37:13 +0000 (20:37 +0000)]
Forgot this ... :(
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)
Roland Häder [Wed, 22 Aug 2012 19:53:12 +0000 (19:53 +0000)]
Added helper for sending out 'request-node-list' answers
Roland Häder [Wed, 22 Aug 2012 19:43:07 +0000 (19:43 +0000)]
Added missing dataXmlNodes array, added debug line
Roland Häder [Wed, 22 Aug 2012 19:32:28 +0000 (19:32 +0000)]
Added (maybe right?) array elements
Roland Häder [Wed, 22 Aug 2012 19:25:28 +0000 (19:25 +0000)]
Move NodeHelper interface, implement missing method 'isAcceptingNodeListRequests' in generic code
Roland Häder [Wed, 22 Aug 2012 19:13:50 +0000 (19:13 +0000)]
Opps :(
Roland Häder [Wed, 22 Aug 2012 19:12:04 +0000 (19:12 +0000)]
Forgot to put this back in
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
Roland Häder [Tue, 21 Aug 2012 16:02:39 +0000 (16:02 +0000)]
Added comments to explain messageData array
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 :(
Roland Häder [Tue, 21 Aug 2012 14:23:24 +0000 (14:23 +0000)]
It is a sub-node
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
Roland Häder [Tue, 21 Aug 2012 14:15:54 +0000 (14:15 +0000)]
Forgot this ...
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
Roland Häder [Sun, 19 Aug 2012 14:44:23 +0000 (14:44 +0000)]
Added missing exception
Roland Häder [Sun, 19 Aug 2012 14:38:55 +0000 (14:38 +0000)]
Added missing methods (as partial stubs)
Roland Häder [Sun, 19 Aug 2012 14:16:49 +0000 (14:16 +0000)]
Added NodeMessageRequestNodeListHandler (unfinished)
Roland Häder [Sun, 19 Aug 2012 13:52:08 +0000 (13:52 +0000)]
Fixed error (opps)
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
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
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
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
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
Roland Häder [Sat, 18 Aug 2012 12:38:52 +0000 (12:38 +0000)]
Added node mode to node desriptor
Roland Häder [Fri, 17 Aug 2012 21:20:23 +0000 (21:20 +0000)]
Added two generic elements to node-list table
Roland Häder [Fri, 17 Aug 2012 20:14:40 +0000 (20:14 +0000)]
Used more generic interface 'Handleable'
Roland Häder [Fri, 17 Aug 2012 20:11:29 +0000 (20:11 +0000)]
Renamed exception, added new one
Roland Häder [Fri, 17 Aug 2012 18:28:37 +0000 (18:28 +0000)]
Added interface HandleableAnswerStatus and class AnnouncementAnswerOkayHandler (unfinished)
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
Roland Häder [Fri, 10 Aug 2012 15:10:43 +0000 (15:10 +0000)]
Exceptions got moved to 'core' as well
Roland Häder [Tue, 7 Aug 2012 20:38:39 +0000 (20:38 +0000)]
Added 'base' classes for answer-status handlers
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
Roland Häder [Tue, 7 Aug 2012 16:31:15 +0000 (16:31 +0000)]
Commented out even more
Roland Häder [Tue, 7 Aug 2012 16:28:32 +0000 (16:28 +0000)]
Commented out some 'noisy' debug lines
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 ...
Roland Häder [Tue, 7 Aug 2012 16:23:54 +0000 (16:23 +0000)]
Now use a try/catch block
Roland Häder [Tue, 7 Aug 2012 16:13:14 +0000 (16:13 +0000)]
Renamed some methods to make them more clear
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
Roland Häder [Tue, 7 Aug 2012 15:56:54 +0000 (15:56 +0000)]
Moved log message before assert
Roland Häder [Tue, 7 Aug 2012 15:49:27 +0000 (15:49 +0000)]
Added another one :(
Roland Häder [Tue, 7 Aug 2012 15:44:55 +0000 (15:44 +0000)]
Added noisy debug line
Roland Häder [Tue, 7 Aug 2012 15:41:44 +0000 (15:41 +0000)]
Moved generic base classes from 'hub' project to core
Roland Häder [Tue, 7 Aug 2012 15:36:20 +0000 (15:36 +0000)]
Typo fixed :(
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
Roland Häder [Tue, 7 Aug 2012 00:21:28 +0000 (00:21 +0000)]
Used exit() instead of die()
Roland Häder [Sat, 4 Aug 2012 23:44:09 +0000 (23:44 +0000)]
Added missing package (Networkable) instance
Roland Häder [Sat, 4 Aug 2012 23:42:35 +0000 (23:42 +0000)]
Now the package assembler is deocoding the finished stream
Roland Häder [Sat, 4 Aug 2012 23:30:35 +0000 (23:30 +0000)]
Renamed more ...
Roland Häder [Sat, 4 Aug 2012 23:29:11 +0000 (23:29 +0000)]
Renamed methods (MAY BREAK THINGS)
Roland Häder [Sat, 4 Aug 2012 23:20:23 +0000 (23:20 +0000)]
Introduced isPackageContentCompleted()
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)
Roland Häder [Sat, 4 Aug 2012 23:10:01 +0000 (23:10 +0000)]
Also remove both (opps)
Roland Häder [Sat, 4 Aug 2012 23:08:16 +0000 (23:08 +0000)]
Added start ([[S]]) and end ([[E]]) marker for BASE64 stream
Roland Häder [Sat, 4 Aug 2012 22:52:52 +0000 (22:52 +0000)]
Added debug line to see the data
Roland Häder [Sat, 4 Aug 2012 22:44:23 +0000 (22:44 +0000)]
Added MD5 hashes only for debugging purposes
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)
Roland Häder [Sat, 4 Aug 2012 22:25:36 +0000 (22:25 +0000)]
Added another one ...
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
Roland Häder [Sat, 4 Aug 2012 22:14:37 +0000 (22:14 +0000)]
Added debug line
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
Roland Häder [Tue, 31 Jul 2012 22:12:18 +0000 (22:12 +0000)]
Introduced self::createDebugInstance()
Roland Häder [Sat, 21 Jul 2012 09:32:37 +0000 (09:32 +0000)]
Fix for InvalidXmlNodeException (my-session-id)
Roland Häder [Tue, 17 Jul 2012 18:51:02 +0000 (18:51 +0000)]
Move array initialization into constructor to allow usage of constants
Roland Häder [Tue, 17 Jul 2012 18:26:07 +0000 (18:26 +0000)]
Important todo added
Roland Häder [Tue, 17 Jul 2012 18:11:36 +0000 (18:11 +0000)]
Opps ...
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
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
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
Roland Häder [Mon, 2 Jul 2012 19:42:26 +0000 (19:42 +0000)]
Set it only when empty to allow custom entries again
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
Roland Häder [Wed, 27 Jun 2012 17:24:31 +0000 (17:24 +0000)]
ANNOUNCEMENT_DATA_ANSWER_STATUS added
Roland Häder [Wed, 27 Jun 2012 17:17:06 +0000 (17:17 +0000)]
Introduced updateNodeData() to update/refresh node data ... ;)
Roland Häder [Tue, 26 Jun 2012 15:37:28 +0000 (15:37 +0000)]
I forgot what this was
Roland Häder [Tue, 26 Jun 2012 15:35:22 +0000 (15:35 +0000)]
Re-renamed :(
Roland Häder [Tue, 26 Jun 2012 14:50:55 +0000 (14:50 +0000)]
Some renames
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
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
Roland Häder [Wed, 30 May 2012 21:26:47 +0000 (21:26 +0000)]
Added search (criteria) instance to updateNodeByMessageData() to make updates possible
Roland Häder [Wed, 30 May 2012 21:15:23 +0000 (21:15 +0000)]
Don't miss it ... :(
Roland Häder [Wed, 30 May 2012 21:02:55 +0000 (21:02 +0000)]
Introduced (currently not used as type-hints) new interfaces:
- Interface 'NodeInformationWrapper' introduced, this may help other developers to implement their own classes
- Interface 'NodeListWrapper' introduced with same intension
- TODOs.txt update
Roland Häder [Sun, 27 May 2012 15:00:31 +0000 (15:00 +0000)]
Fixed :(