]> git.mxchange.org Git - hub.git/commit
Continued:
authorRoland Häder <roland@mxchange.org>
Mon, 29 May 2017 19:22:54 +0000 (21:22 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2020 16:50:09 +0000 (18:50 +0200)
commitcf39be5d5645b195e967ccf8bb16f2da5a5ff37a
tree336d13ec81812de54d39afacc643461773d90a24
parentfc4cfe3514091b56a2f0553556b25fc0937de755
Continued:
- method renamed to getConnectionClassNameFromSocket() which now only accepts a StorableSocket class
- resolveStateByPackage() now accepts StorableSocket instead of socket resource
- also extend HubInterface
- introduced BaseHubHandler to implement HubInterface (or what is missing + protected setter/getter)
- introduced BaseHubDatabaseWrapper to implement HubInterface
- more debug messages
- other stuff improved
- imported (Base|Peer)StateResolver
- imported StorableSocket
- imported (Lookupable)PeerState
- imported PeerStateable
- created new namespaces
- moved classes around

Signed-off-by: Roland Häder <roland@mxchange.org>
103 files changed:
application/hub/classes/class_BaseHubSystem.php
application/hub/classes/container/socket/class_SocketContainer.php
application/hub/classes/database/frontend/class_BaseHubDatabaseWrapper.php [new file with mode: 0644]
application/hub/classes/database/frontend/cruncher/class_CruncherUnitDatabaseWrapper.php
application/hub/classes/database/frontend/node/class_NodeDistributedHashTableDatabaseWrapper.php
application/hub/classes/database/frontend/node/class_NodeInformationDatabaseWrapper.php
application/hub/classes/database/frontend/states/class_PeerStateLookupDatabaseWrapper.php
application/hub/classes/discovery/recipient/socket/class_PackageSocketDiscovery.php
application/hub/classes/handler/answer-status/.htaccess [deleted file]
application/hub/classes/handler/answer-status/announcement/.htaccess [deleted file]
application/hub/classes/handler/answer-status/announcement/class_NodeAnnouncementAnswerOkayHandler.php [deleted file]
application/hub/classes/handler/answer-status/class_ [deleted file]
application/hub/classes/handler/answer-status/class_BaseAnserStatusHandler.php [deleted file]
application/hub/classes/handler/answer-status/requests/.htaccess [deleted file]
application/hub/classes/handler/answer-status/requests/class_RequestNodeListAnswerOkayHandler.php [deleted file]
application/hub/classes/handler/chunks/class_ChunkHandler.php
application/hub/classes/handler/class_BaseHubHandler.php [new file with mode: 0644]
application/hub/classes/handler/data/.htaccess [new file with mode: 0644]
application/hub/classes/handler/data/answer-status/.htaccess [new file with mode: 0644]
application/hub/classes/handler/data/answer-status/announcement/.htaccess [new file with mode: 0644]
application/hub/classes/handler/data/answer-status/announcement/class_NodeAnnouncementAnswerOkayHandler.php [new file with mode: 0644]
application/hub/classes/handler/data/answer-status/class_ [new file with mode: 0644]
application/hub/classes/handler/data/answer-status/class_BaseAnserStatusHandler.php [new file with mode: 0644]
application/hub/classes/handler/data/answer-status/requests/.htaccess [new file with mode: 0644]
application/hub/classes/handler/data/answer-status/requests/class_RequestNodeListAnswerOkayHandler.php [new file with mode: 0644]
application/hub/classes/handler/data/class_ [new file with mode: 0644]
application/hub/classes/handler/data/class_BaseDataHandler.php [new file with mode: 0644]
application/hub/classes/handler/data/message-types/.htaccess [new file with mode: 0644]
application/hub/classes/handler/data/message-types/announcement/.htaccess [new file with mode: 0644]
application/hub/classes/handler/data/message-types/announcement/class_NodeMessageAnnouncementHandler.php [new file with mode: 0644]
application/hub/classes/handler/data/message-types/answer/.htaccess [new file with mode: 0644]
application/hub/classes/handler/data/message-types/answer/class_NodeMessageAnnouncementAnswerHandler.php [new file with mode: 0644]
application/hub/classes/handler/data/message-types/answer/class_NodeMessageDhtBootstrapAnswerHandler.php [new file with mode: 0644]
application/hub/classes/handler/data/message-types/answer/class_NodeMessageRequestNodeListAnswerHandler.php [new file with mode: 0644]
application/hub/classes/handler/data/message-types/class_ [new file with mode: 0644]
application/hub/classes/handler/data/message-types/class_BaseMessageHandler.php [new file with mode: 0644]
application/hub/classes/handler/data/message-types/dht/.htaccess [new file with mode: 0644]
application/hub/classes/handler/data/message-types/dht/class_NodeMessageDhtBootstrapHandler.php [new file with mode: 0644]
application/hub/classes/handler/data/message-types/requests/.htaccess [new file with mode: 0644]
application/hub/classes/handler/data/message-types/requests/class_NodeMessageRequestNodeListHandler.php [new file with mode: 0644]
application/hub/classes/handler/data/message-types/self-connect/.htaccess [new file with mode: 0644]
application/hub/classes/handler/data/message-types/self-connect/class_NodeMessageSelfConnectHandler.php [new file with mode: 0644]
application/hub/classes/handler/message-types/.htaccess [deleted file]
application/hub/classes/handler/message-types/announcement/.htaccess [deleted file]
application/hub/classes/handler/message-types/announcement/class_NodeMessageAnnouncementHandler.php [deleted file]
application/hub/classes/handler/message-types/answer/.htaccess [deleted file]
application/hub/classes/handler/message-types/answer/class_NodeMessageAnnouncementAnswerHandler.php [deleted file]
application/hub/classes/handler/message-types/answer/class_NodeMessageDhtBootstrapAnswerHandler.php [deleted file]
application/hub/classes/handler/message-types/answer/class_NodeMessageRequestNodeListAnswerHandler.php [deleted file]
application/hub/classes/handler/message-types/class_ [deleted file]
application/hub/classes/handler/message-types/class_BaseMessageHandler.php [deleted file]
application/hub/classes/handler/message-types/dht/.htaccess [deleted file]
application/hub/classes/handler/message-types/dht/class_NodeMessageDhtBootstrapHandler.php [deleted file]
application/hub/classes/handler/message-types/requests/.htaccess [deleted file]
application/hub/classes/handler/message-types/requests/class_NodeMessageRequestNodeListHandler.php [deleted file]
application/hub/classes/handler/message-types/self-connect/.htaccess [deleted file]
application/hub/classes/handler/message-types/self-connect/class_NodeMessageSelfConnectHandler.php [deleted file]
application/hub/classes/handler/network/.htaccess [deleted file]
application/hub/classes/handler/network/socket/.htaccess [deleted file]
application/hub/classes/handler/network/socket/class_SocketRawDataHandler.php [deleted file]
application/hub/classes/handler/network/tcp/.htaccess [deleted file]
application/hub/classes/handler/network/tcp/class_ [deleted file]
application/hub/classes/handler/network/tcp/class_TcpRawDataHandler.php [deleted file]
application/hub/classes/handler/network/udp/.htaccess [deleted file]
application/hub/classes/handler/network/udp/class_UdpRawDataHandler.php [deleted file]
application/hub/classes/handler/protocol/class_BaseProtocolHandler.php
application/hub/classes/handler/raw_data/class_
application/hub/classes/handler/raw_data/class_BaseDataHandler.php [deleted file]
application/hub/classes/handler/raw_data/class_BaseRawDataHandler.php [new file with mode: 0644]
application/hub/classes/handler/raw_data/network/.htaccess [deleted file]
application/hub/classes/handler/raw_data/network/class_ [deleted file]
application/hub/classes/handler/raw_data/network/class_BaseRawDataHandler.php [deleted file]
application/hub/classes/handler/raw_data/socket/.htaccess [new file with mode: 0644]
application/hub/classes/handler/raw_data/socket/class_SocketRawDataHandler.php [new file with mode: 0644]
application/hub/classes/handler/raw_data/tcp/.htaccess [new file with mode: 0644]
application/hub/classes/handler/raw_data/tcp/class_ [new file with mode: 0644]
application/hub/classes/handler/raw_data/tcp/class_TcpRawDataHandler.php [new file with mode: 0644]
application/hub/classes/handler/raw_data/udp/.htaccess [new file with mode: 0644]
application/hub/classes/handler/raw_data/udp/class_UdpRawDataHandler.php [new file with mode: 0644]
application/hub/classes/helper/connection/class_BaseConnectionHelper.php
application/hub/classes/listener/class_BaseListenerDecorator.php
application/hub/classes/resolver/state/peer/class_PeerStateResolver.php
application/hub/classes/states/peer/class_
application/hub/classes/states/peer/connected/class_ConnectedPeerState.php
application/hub/classes/states/peer/errors/class_ConnectionRefusedPeerState.php
application/hub/classes/states/peer/errors/class_ConnectionTimedOutPeerState.php
application/hub/classes/states/peer/errors/class_NoRouteToHostPeerState.php
application/hub/classes/states/peer/errors/class_OperationAlreadyProgressPeerState.php
application/hub/classes/states/peer/errors/class_ProblemPeerState.php
application/hub/classes/states/peer/errors/class_TransportEndpointGonePeerState.php
application/hub/classes/states/peer/init/class_InitPeerState.php
application/hub/config.php
application/hub/interfaces/class_HubInterface.php
application/hub/interfaces/handler/answer-status/class_HandleableAnswerStatus.php
application/hub/interfaces/handler/chunks/class_HandleableChunks.php
application/hub/interfaces/handler/message-types/class_HandleableMessage.php
application/hub/interfaces/handler/network/class_Networkable.php
application/hub/interfaces/handler/protocol/class_HandleableProtocol.php
application/hub/interfaces/helper/connections/class_ConnectionHelper.php
application/hub/interfaces/lookup/node_states/class_LookupableNodeState.php
application/hub/interfaces/lookup/peer_states/class_LookupablePeerState.php
application/hub/interfaces/resolver/state/class_StateResolver.php
application/hub/interfaces/states/peer/class_PeerStateable.php