Roland Haeder [Thu, 5 Mar 2015 02:01:10 +0000 (03:01 +0100)]
Continued with crawler:
- Renamed parseCsvEntry() to parseCsvFile() as it reads a CSV file
- Added check method if a CSV entry is stacked
- Updated 'core' to latest commit
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 19 Feb 2015 10:26:47 +0000 (11:26 +0100)]
Implementation of isOwnAddress() basicly finished:
- ... which will check if the currently saved UNL is the same as own external
or internal UNL (internal only returns IP!!!).
- Introduced getCurrentUniversalNodeLocator()
- Updated 'core'
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 30 Jan 2015 00:34:18 +0000 (01:34 +0100)]
Continued with refacturing:
- Deleted deprecated stuff, such as the ConnectionRegistry class as there is
now only a SocketRegistry.
- More cleanups (e.g. no longer used config entry and many more)
- Use more ShareableInfo class which main contain a Listenable or
ConnectionHelper instance. If both is missing, please report this.
- Updated 'core'
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 29 Jan 2015 20:53:48 +0000 (21:53 +0100)]
Continued with refactoring:
- Added ShareableInfo interface
- Added ConnectionInfo class which can be filled by Listenable classes and
ConnectionHelper classes. This fixes a bug that isSocketRegistered(),
registerSocket() and so on, are only accepting a Listenable class and not
the other.
- Updated 'core'
- UNFINISHED!
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 23 Jan 2015 20:58:12 +0000 (21:58 +0100)]
Continued rewrite:
- Added discoverListenerInstance() to inteface
- Introduced new generic class BaseIpV4ConnectionHelper
- ... and moved some methods to it
- Other rewrites + more debug lines added (mostly commented out)
- Updated 'core'
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 11 Jan 2015 20:51:25 +0000 (21:51 +0100)]
Continued with crawler (won't work with out-dated core):
- Added new method to check stack size for added CSV files
- Added empty stub for adding entries from loaded CSV file
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 23 Dec 2014 12:55:43 +0000 (13:55 +0100)]
Continued with refacturing:
- Removed no longer needed port which was only for TCP/UDP connections
- Added UniversalNodeLocator class
- Some parts are now "basicly finished", still there is a lot work to do
- Updated 'core' to latest commit id
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 15 Dec 2014 20:23:31 +0000 (21:23 +0100)]
Continued rewriting:
- IPs are a little "static" which means that you only connect to Internet nodes.
Universal node locators (UNL) give you the ability to connect also to node
which are not available over the internet, such as "fax nodes".
- Updated core
- Added new script for finding bad scripts
- Added more stuff towards refacturing to protocol handler
- Introduced discoverUniversalNodeLocatorByConfiguredAddress()
- Introduced resolveUniversalNodeLocatorFromConfigKey()
- Other rewrites
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 15 Dec 2014 18:30:01 +0000 (19:30 +0100)]
Continued with refacturing:
- renamed some variables
- expanded bootstrap node with protocol to fit UNL scheme (protocol://address[:port])
- added another die() as this part needs overworking, too
- introduced detectOwnUniversalNodeLocator()
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 7 Dec 2014 18:23:04 +0000 (19:23 +0100)]
Continued a little:
- Added resolveUniversalResourceLocatorFromNodeHelper() to interface
- BaseProtocolResolver now expandes BaseHubSystem to have some setters back.
- Improved comments here and there
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 11 Nov 2014 21:40:18 +0000 (22:40 +0100)]
Added more UNL (Universal Node Locator) stuff:
- Added interface for protocol resolvers
- Added factory for same class
- Added (lifeless) TCP resolver (NodeHelper -> LocateableNode resolver)
- The UNL is now a class implementation (see interface LocateableNode)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Oct 2014 11:13:32 +0000 (13:13 +0200)]
More rewrites (and code stops):
- Renamed a lot variables towards UNL (universal node locator) which allows not
just ip:port locators but in a more URI-like style: protocol://address[:port]
'address' could also be a fax number where you want to establish a
"connection" to by sending the serialized base64-encoded data to.
- Renamed methods to reflect latest rewrites
- Updated core to latest changes
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 17 Oct 2014 18:46:44 +0000 (20:46 +0200)]
Continued on refacturing from string to ProtocolHandler:
- Moved some classes to core as they become "generic" (generalized code).
- 'core' updated to latest commit
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 8 Oct 2014 21:44:04 +0000 (23:44 +0200)]
Refacturing to pass a ProtocolHandler instance instead of the direct name. This
makes the code more flexible to other protocol handlers including FAX
"connections" and many fancy stuff more.
This refacuring is not complete.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 17 Oct 2014 21:17:42 +0000 (23:17 +0200)]
Continued:
- Added new general HubHelper interface and let it extend/implement by suitable classes/interfaces
- Used the new interface as type-hint in enqueueRawDataFromTemplate()
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 17 Oct 2014 18:46:44 +0000 (20:46 +0200)]
Continued on refacturing from string to ProtocolHandler:
- Moved some classes to core as they become "generic" (generalized code).
- 'core' updated to latest commit
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 8 Oct 2014 21:44:04 +0000 (23:44 +0200)]
Refacturing to pass a ProtocolHandler instance instead of the direct name. This
makes the code more flexible to other protocol handlers including FAX
"connections" and many fancy stuff more.
This refacuring is not complete.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 17 Oct 2014 21:17:42 +0000 (23:17 +0200)]
Continued:
- Added new general HubHelper interface and let it extend/implement by suitable classes/interfaces
- Used the new interface as type-hint in enqueueRawDataFromTemplate()
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 17 Oct 2014 18:46:44 +0000 (20:46 +0200)]
Continued on refacturing from string to ProtocolHandler:
- Moved some classes to core as they become "generic" (generalized code).
- 'core' updated to latest commit
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 8 Oct 2014 21:44:04 +0000 (23:44 +0200)]
Refacturing to pass a ProtocolHandler instance instead of the direct name. This
makes the code more flexible to other protocol handlers including FAX
"connections" and many fancy stuff more.
This refacuring is not complete.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 22 Jul 2014 21:22:36 +0000 (23:22 +0200)]
Cleanup + added debug lines:
- cleaned up no longer used paths (previously copied to 'node' wit SVN)
- added noisy debug lines to fix an error in announcement
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 22 Jul 2014 18:54:28 +0000 (20:54 +0200)]
Continued:
- fixed bad handlig in NodeDistributedHashTableDatabaseWrapper
- improved other stuff (communicator, ...)
- used new 'core' (only chash.php)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 25 Jun 2014 17:50:41 +0000 (19:50 +0200)]
Continued:
- added a Minable interface for minable blocks
- added a HashBlock class which can be "mined"
- added missing debug output in some state factories
- added 'booting' state for block miners
- used updated 'core'
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 12 May 2014 19:21:19 +0000 (21:21 +0200)]
Added crawler stuff:
- Added scanner class/interface and task class.
- Added a scanner class for looking for uploaded lists. They must be located in
data/url_lists/ .
- Rewritten both factories (scanner, source) to use createObjectByConfiguredName()
instead of direct createObjectByName(). This allows to set another class if you
don't like the original implementation.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 12 May 2014 19:20:50 +0000 (21:20 +0200)]
Added/renamed miner classes:
- Added communicator class for miner->node communication. This allows the miner
to claim found blocks and ask the network for more.
- Moved some miner tasks in sub directories
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 7 May 2014 20:18:54 +0000 (22:18 +0200)]
Continued:
- added new tasks for URL sources (I need to split it in separate tasks to maintain a good cycle time).
- removed deprecated files and directories
- added "demo" list for URL list source
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 4 May 2014 10:38:33 +0000 (12:38 +0200)]
Added initial crawler stuff:
- Crawler->node communicator classes/interfaces
- Local and remote URL fetcher classes
- The crawler application has now states (currently init, booting, active)
- Also the communicator does now have states (currently init, active)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 3 May 2014 22:18:26 +0000 (00:18 +0200)]
Continued: ;-)
- deleted deprecated files
- moved 'chains' directory outside 'filter' as filter chains are no filters
- Now use GIT in shell scripts
- updated TODOs.txt
Signed-off-by: Roland Haeder <roland@mxchange.org>