]> git.mxchange.org Git - hub.git/log
hub.git
20 months agoContinued:
Roland Häder [Sat, 25 Feb 2023 12:47:36 +0000 (13:47 +0100)]
Continued:
- fixed handling of sockets in socket registry
- also fixed key spaces for object registries
- updated 'core' framework

20 months agoContinued (WIP):
Roland Häder [Sat, 25 Feb 2023 09:57:23 +0000 (10:57 +0100)]
Continued (WIP):
- moved more from GenericRegistry to ObjectRegistry
- including registry segmentation by parameter $key
- updated 'core' framework

20 months agoContinued:
Roland Häder [Sat, 25 Feb 2023 04:23:21 +0000 (05:23 +0100)]
Continued:
- added some more commented-out debug lines
- rewrote a few to use sprintf()
- updated index.php
- updated 'core' framework

21 months agoContinued:
Roland Häder [Sun, 19 Feb 2023 03:55:00 +0000 (04:55 +0100)]
Continued:
- added missing "import" line

21 months agoContinued:
Roland Häder [Sun, 19 Feb 2023 00:40:05 +0000 (01:40 +0100)]
Continued:
- method partialStub() has been moved to DebugMiddleware

21 months agoContinued:
Roland Häder [Sat, 18 Feb 2023 23:54:16 +0000 (00:54 +0100)]
Continued:
- exit; means normal exit which isn't the case here
- updated 'core' framework

21 months agoContinued:
Roland Häder [Sat, 18 Feb 2023 03:35:23 +0000 (04:35 +0100)]
Continued:
- added missing namespaces to configuration entries
- added missing "import" line for BaseChatFilter

21 months agoContinued:
Roland Häder [Sat, 18 Feb 2023 02:53:37 +0000 (03:53 +0100)]
Continued:
- added exception code EXCEPTION_BAD_METHOD_CALL

21 months agoContinued:
Roland Häder [Sat, 18 Feb 2023 01:07:58 +0000 (02:07 +0100)]
Continued:
- EXCEPTION_UNSPPORTED_OPERATION has been moved to FrameworkInterface
- also changed some old array() to "new" [] style
- updated 'core' framework

21 months agoContinued:
Roland Häder [Fri, 17 Feb 2023 08:15:06 +0000 (09:15 +0100)]
Continued:
- requestIsValid() is now renamed to a propper setter setIsRequestValid() and
  with no default (setters don't have default values)
- updated 'core' framework

21 months agoContinued:
Roland Häder [Wed, 15 Feb 2023 21:36:16 +0000 (22:36 +0100)]
Continued:
- changed some Y/N config keys to new is_*_enabled (boolean)
- added a missing configuation key
- updated 'core'

21 months agoContinued:
Roland Häder [Fri, 10 Feb 2023 13:14:34 +0000 (14:14 +0100)]
Continued:
- added missing namespaces in configuration file (command=apt-proxy)
- added missing "import" line for BaseAptProxyFilter

21 months agoContinued:
Roland Häder [Fri, 10 Feb 2023 07:50:16 +0000 (08:50 +0100)]
Continued:
- updated 'core' framework to latest commit

21 months agoContinued:
Roland Häder [Fri, 10 Feb 2023 04:52:37 +0000 (05:52 +0100)]
Continued:
- renamed stacker names in_* -> incoming_*
- renamed stacker names out_* -> outgoing_*
- added missing configuration entries
- updated 'core' framework to latest commit

21 months agoContinued:
Roland Häder [Thu, 9 Feb 2023 03:10:08 +0000 (04:10 +0100)]
Continued:
- moved non-generic constants to their proper interfaces
- moved fixed strings 'internal' and 'external' to proper interface constants

2 years agoContinued:
Roland Häder [Sat, 17 Sep 2022 04:20:03 +0000 (06:20 +0200)]
Continued:
- updated 'core' framework

2 years agoContinued:
Roland Häder [Wed, 20 Jul 2022 16:23:08 +0000 (18:23 +0200)]
Continued:
- updated 'core' framework

2 years agoContinued:
Roland Häder [Sun, 10 Jul 2022 10:32:27 +0000 (12:32 +0200)]
Continued:
- updated 'core'

2 years agoContinued:
Roland Häder [Sun, 10 Jul 2022 10:01:12 +0000 (12:01 +0200)]
Continued:
- renamed 'main' to 'daemon' for invocation of "php index.php app=hub"

2 years agoContinued:
Roland Häder [Sun, 10 Jul 2022 09:49:16 +0000 (11:49 +0200)]
Continued:
- updated .gitattributes file
- updated 'core'

2 years agoContinued:
Roland Häder [Thu, 16 Jun 2022 07:23:39 +0000 (09:23 +0200)]
Continued:
- better filter binary files through LFS

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Wed, 11 May 2022 00:08:20 +0000 (02:08 +0200)]
Continued:
- rewrote more assert() calls in a public method to hard exception throws
- ops, $bufferSize is 2nd parameter in this mask
- enabled a debug line

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Tue, 10 May 2022 23:46:00 +0000 (01:46 +0200)]
Continued:
- $encodedData was used twice, ops!
- logging improved

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Tue, 10 May 2022 23:27:44 +0000 (01:27 +0200)]
Continued:
- no need for two socket_write() invocations when you can just do the math in
  the if() block

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Tue, 10 May 2022 23:03:48 +0000 (01:03 +0200)]
Continued:
- Are we invoking methods or are we calling them?

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Tue, 10 May 2022 19:31:18 +0000 (21:31 +0200)]
Continued:
- added more debug lines
- $encodedData was a one-usage local variable and can be avoided for more
  compact and hopefully easier code

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Tue, 10 May 2022 13:56:32 +0000 (15:56 +0200)]
Continued:
- renamed getSubRegistryKey() -> generateSubRegistryKeyFromInfoInstance() as
  this is not a getter
- also included connection type (e.g. 'server') into sub-registry key
- more debug lines added
- removed superflous $peerSuffix parameter as the ':0' may cause confusion

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Mon, 9 May 2022 20:45:18 +0000 (22:45 +0200)]
Continued:
- renamed $content to $rawTemplateData to reflect its real purpose
- added more (also dying) debug lines

2 years agoContinued:
Roland Häder [Sun, 6 Mar 2022 05:28:33 +0000 (06:28 +0100)]
Continued:
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoPlease cherry-pick:
Roland Häder [Sun, 6 Mar 2022 05:26:33 +0000 (06:26 +0100)]
Please cherry-pick:
- updated copyright year

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Wed, 2 Mar 2022 04:08:32 +0000 (05:08 +0100)]
Continued:
- "get" SHOULD be exclusively for getters, not for fetching record from
  database or determining ("getting") something based on an other object

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Wed, 2 Mar 2022 02:58:07 +0000 (03:58 +0100)]
Continued:
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoPlease cherry-pick:
Roland Häder [Wed, 2 Mar 2022 02:55:59 +0000 (03:55 +0100)]
Please cherry-pick:
- described an if() block why and when that condition may happen (rarely seen)

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Wed, 2 Mar 2022 02:22:55 +0000 (03:22 +0100)]
Continued:
- updated copyright year to 2022

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Thu, 30 Dec 2021 03:04:14 +0000 (04:04 +0100)]
Continued:
- updated 'core' framework

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Thu, 16 Dec 2021 14:38:04 +0000 (15:38 +0100)]
Continued:
- removed obsolete ?>

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Thu, 16 Dec 2021 14:32:09 +0000 (15:32 +0100)]
Continued:
- *_socket_listen_backlog is now being "cached" in static array to avoid some
  "expensive" invocations on configuration class
- updated 'core' framework

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Mon, 13 Dec 2021 17:50:10 +0000 (18:50 +0100)]
Continued:
- renamed methods to make them more clear
- updated 'core' framework

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Sun, 12 Dec 2021 20:48:53 +0000 (21:48 +0100)]
Continued:
- converted array to static
- "cached" configuration entry

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Sun, 12 Dec 2021 09:39:22 +0000 (10:39 +0100)]
Continued:
- cached determined external/internal addresses
- avoid setting $GLOBALS[<something>] (e.g. wrong "in-method cache")
- added some missing config entries for stacks
- updated 'core' framework

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Sun, 12 Dec 2021 08:08:23 +0000 (09:08 +0100)]
Continued:
- renamed $tpl to $templateClassName (very old code here) as it is part of the
  framework
- updated 'core' framework

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Sat, 11 Dec 2021 23:23:05 +0000 (00:23 +0100)]
Continued:
- updated 'core' framework

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Sat, 11 Dec 2021 21:49:03 +0000 (22:49 +0100)]
Continued:
- ignored cachegrind dumps
- updated 'core' framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Fri, 17 Sep 2021 02:00:05 +0000 (04:00 +0200)]
Continued:
- skip any class that isn't a socket container class to avoid stub messages

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 16 Sep 2021 02:13:14 +0000 (04:13 +0200)]
Continued:
- readCsvFileLine() returns a non-array (currently NULL) when the end-of-file
  has been reached, this needs to be respected here.

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 5 Sep 2021 19:45:58 +0000 (21:45 +0200)]
Continued:
- fixed namespace

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Fri, 27 Aug 2021 03:49:59 +0000 (05:49 +0200)]
Continued:
- added missing directory for "hub service" (web interface)

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 26 Aug 2021 02:16:34 +0000 (04:16 +0200)]
Continued:
- need to skip empty lines in framework
- updated 'core' framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 26 Aug 2021 02:13:03 +0000 (04:13 +0200)]
Continued:
- Use readCsvFileLine()'s 2nd parameter to check if read CSV lines are properly
  formatted (3 elements are present)
- updated 'core' framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 18 Aug 2021 15:10:21 +0000 (17:10 +0200)]
Continued:
- improved debug messages

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 15 Aug 2021 17:54:40 +0000 (19:54 +0200)]
Continued:
- added internal TODO to find actual usage of the interface and rename it
  properly

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 15 Aug 2021 17:47:28 +0000 (19:47 +0200)]
Continued:
- I still need to find the actual root cause why $infoInstance is set to NULL
- so commented in some debug lines, replaced concat (.) with sprintf() (string
  mask). Yes, I know you don't like to read the 2nd word -> MASK! <- but it
  isn't my fault. So let's leave it there.

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 12 Aug 2021 14:14:47 +0000 (16:14 +0200)]
Continued:
- added logging of socketType class field
- added some noisy debug lines

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 12 Aug 2021 13:48:45 +0000 (15:48 +0200)]
Continued:
- $infoInstance should not be NULL or anything beside an instance of
  ShareableInfo

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 12 Aug 2021 10:45:36 +0000 (12:45 +0200)]
Continued:
- throw a OutOfBoundsException if an array element is not there
- initialize private key data record with NULL (stored currently as empty string)
- Do not shorten config keys, write them clearly!

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Tue, 10 Aug 2021 02:05:52 +0000 (04:05 +0200)]
Continued:
- fixed config key

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 6 Jan 2021 20:02:42 +0000 (21:02 +0100)]
Continued:
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Mon, 4 Jan 2021 02:29:32 +0000 (03:29 +0100)]
Continued:
- renamed default crawler names to 'distributed' as this is now the crawler's
  default mode. Later more modes, e.g. 'local' can be added which won't register
  any remote jobs and maybe not communicate with the node (hub) to avoid crawler
  info distribution
- Just a wild idea!
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoRewrite:
Roland Häder [Sun, 20 Dec 2020 11:12:15 +0000 (12:12 +0100)]
Rewrite:
- constructors of concrete (=implementing non-abstract) classes should be
  private to avoid somone making an inheriting class of a concrete class
- this is good practice: only make inheriting (concrete) classes of abstract
  classes, not another concrete class only because you want that functionality
  in your class, too
- the private constructor also stops you from doing such wrong things, no need
  to make all concrete classes final
- updated core framework
- removed deprecated exceptions, as the SPL's can do it, too

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoRewrite:
Roland Häder [Sun, 20 Dec 2020 10:56:00 +0000 (11:56 +0100)]
Rewrite:
- renamed $configEntry to $configKey
- added missing type-hintes for primitive variables
- added condition-checks for string/int parameter and thrown an IAE when the
  condition is not met

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 10 Dec 2020 01:39:28 +0000 (02:39 +0100)]
Continued:
- fixed configuration entries
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 9 Dec 2020 05:42:08 +0000 (06:42 +0100)]
Continued:
- updated core framework (heavy rewrite!)

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 9 Dec 2020 01:42:40 +0000 (02:42 +0100)]
Continued:
- renamed .htacces to .gitkeep and emptied them
- no self::createObjectByConfiguredName() anymore, only as usual over
  ObjectFactory reference
- ops createProtocolHandlerByType() is not ObjectFactory ...
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Tue, 8 Dec 2020 23:23:03 +0000 (00:23 +0100)]
Continued:
- added noisy debug line
- fixed "NPE" as $csvFileInstance was unset before
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Mon, 7 Dec 2020 14:20:24 +0000 (15:20 +0100)]
Continued:
- updated index.php from core project
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Mon, 7 Dec 2020 08:31:13 +0000 (09:31 +0100)]
Continued:
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Mon, 7 Dec 2020 08:27:16 +0000 (09:27 +0100)]
Continued:
- moved ObjectFactory into deeper namespace
- also it is now final, please extend BaseFactory instead

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Mon, 7 Dec 2020 06:46:54 +0000 (07:46 +0100)]
Continued:
- moved $stackSourceInstance to BaseUrlSource
- also introduced BaseUrlSource->initStacks()
- renamed UrlSource::CRAWL_JOB_ARRAY_* to URL_SOURCE_ARRAY_*
- added more debug lines

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Mon, 7 Dec 2020 05:54:14 +0000 (06:54 +0100)]
Continued:
- moved BaseUrlSource::CRAWL_JOB_ARRAY_* to UrlSource interface
- added more checks on parameter
- replaced assert() with thrown exceptions

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 23:59:03 +0000 (00:59 +0100)]
Continued:
- private methods shall not throw exceptions as they can be unit-tested very
  complicated
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 22:07:50 +0000 (23:07 +0100)]
Continued:
- introduced isLastCsvFileImported()
- added some noisy debug lines

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 08:16:44 +0000 (09:16 +0100)]
Continued:
- updated copyright year (long time overdue!)
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 07:51:42 +0000 (08:51 +0100)]
Continued:
- Application instance in generic registry was a little of an overdoze when
  there is ApplicationHelper::getSelfInstance() around, this means lesser
  method invocations and a bit smaller footprint (one registry entry lesser)
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 05:54:05 +0000 (06:54 +0100)]
Continued:
- removed all .htaccess files, please secure it on your own on server-side's
  configuration
- introduced LocateableNodeTrait, so far only used in BaseProtocolHandler

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 05:38:05 +0000 (06:38 +0100)]
Continued:
- moved BaseHubSystem::BOOTSTRAP_NODES_SEPARATOR to Node interface as this is a
  node-related only constant
- moved BaseHubNode::NODE_TYPE_* to Node interface

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 04:21:50 +0000 (05:21 +0100)]
Continued:
- now all stacks must be initialized no matter which method is invoked, so no
  "auto-magic" initialization as this was a bit Spagetti-like code
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 5 Dec 2020 23:57:54 +0000 (00:57 +0100)]
Continued:
- removed deprecated ?> PHP tag close
- improved some logger messages
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 5 Dec 2020 22:26:20 +0000 (23:26 +0100)]
Continued:
- had renamed some namespaces
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Fri, 4 Dec 2020 10:16:17 +0000 (11:16 +0100)]
Continued:
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Fri, 4 Dec 2020 06:40:30 +0000 (07:40 +0100)]
Continued:
- lesser old-lost " // END - *
- also converted assert() into proper thrown exceptions (more OOP)
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Fri, 4 Dec 2020 04:11:40 +0000 (05:11 +0100)]
Continued:
- got rid of deprecated message<->config copying stuff, it should be done more
  naturally

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 3 Dec 2020 23:33:10 +0000 (00:33 +0100)]
Continued:
- fixed NPE when socket is being shutdown on creation
- improved some logger messages
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 3 Dec 2020 22:39:34 +0000 (23:39 +0100)]
Continued:
- renamed more $packageInstance to $handlerInstance when it is type of
  Receivable
- fixed handling of repeated node_data record creation
- removed bad 'invalid' default values
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 3 Dec 2020 20:50:44 +0000 (21:50 +0100)]
Continued:
- improved some debug messages
- thrown more SPL exceptions instead of assert()
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 3 Dec 2020 19:31:45 +0000 (20:31 +0100)]
Continued:
- throw IAE when e.g. a string parameter is empty
- introduced DeliverableTrait
- improved/commented in debug messages
- added type-hints for primitive variables

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 3 Dec 2020 15:31:58 +0000 (16:31 +0100)]
Continued:
- renamed NodeInformationDatabaseFrontend->ifNodeDataIsFound() to
  findFirstNodeData() and also changed return type from bool to $resultInstance
  (SearchableResult)
- changed type-hint from BaseHubNode (abstract class) to Node (interface)
- improved some debug messages

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 3 Dec 2020 08:38:00 +0000 (09:38 +0100)]
Continued:
- $socketInstance is required in BaseConnectionHelper, so moved the trait
  loading there
- also fixed NULL reference as it might not be set at all times

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 3 Dec 2020 08:28:01 +0000 (09:28 +0100)]
Continued:
- added some type-hints for primitive variables
- added some checks on parameters
- some debug messages improved (sprintf() is the norm when parameters are logged)

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 3 Dec 2020 08:07:08 +0000 (09:07 +0100)]
Continued:
- removed no longer needed config entry
- used StorableSocket::SOCKET_PROTOCOL_TCP instead of direct 'tcp'
- improved some exception messages a bit

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 3 Dec 2020 07:49:01 +0000 (08:49 +0100)]
Continued:
- when socket_listen() is left alone with default (0) value for the $backlog
  parameter and you have SYN cookies disabled in kernel, you will later get
  "Resource temporary unvailable" (code 11)
- this can be only fixed by setting high enough values in config-local.php (not
  config.php) which depends on your used operanting system.
- commented out noisy debug lines
- converted old array() style to "new" [] way

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 3 Dec 2020 06:59:26 +0000 (07:59 +0100)]
Continued:
- renamed StorableSocket->getSocketRecipient() to getSocketRecipientUnl()
- commented-in noisy debug lines as a strange "Resource temporary unavailable"
  happens when SYN cookies are disabled in kernel
- added type-hint for primitive variables
- not really noisy debug lines but later no more needed

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 21:21:52 +0000 (22:21 +0100)]
Continued:
- fixed E_NOTICE and other stuff
- added config entry for disabling (default: enabled) reusing TCP addresses
- commented-in noisy debug lines SYNC flooding happens on my system with this
  program
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 19:33:43 +0000 (20:33 +0100)]
Continued:
- added missing trait(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 19:29:39 +0000 (20:29 +0100)]
Continued:
- used more traits than direct instances + getter/setter
- added missing "import" lines
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 18:50:23 +0000 (19:50 +0100)]
Continued:
- replaced $handlerInstance with HandleableTrait trait
- udpated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 18:38:57 +0000 (19:38 +0100)]
Continued:
- replaced $handlerInstance with HandleableTrait
- added deeper namespace
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 17:46:55 +0000 (18:46 +0100)]
Continued:
- renamed PackageData:$status to $packageStatus
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoRefacturing:
Roland Häder [Wed, 2 Dec 2020 12:45:01 +0000 (13:45 +0100)]
Refacturing:
- introduced FragmentableTrait trait
- database wrappers are no more, they are now called frontends
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoRefacturing:
Roland Häder [Wed, 2 Dec 2020 11:41:08 +0000 (12:41 +0100)]
Refacturing:
- introduced traits for $node and $listener instances

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 10:13:37 +0000 (11:13 +0100)]
Continued:
- updated index.php from core framework
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>