]> git.mxchange.org Git - hub.git/commit
Continued on development of 'hub' project with many refactorings/addings:
authorRoland Häder <roland@mxchange.org>
Sat, 11 Feb 2012 00:13:26 +0000 (00:13 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 11 Feb 2012 00:13:26 +0000 (00:13 +0000)
commitf884d1738b81b893f44001100f51661f307ad9a3
treee9185ede2a27546990650c6629454bef31c2299f
parent0c0af54da337c11b01ff5799ab24e54cd6a93e8b
Continued on development of 'hub' project with many refactorings/addings:
- Added new exception UnexpectedPackageStatusException which will be thrown if
  the package status is not the expected one before it got 'pop-ed' from the
  stack
- Added HalfShutdownSocketVisitor which will remove the first failing entry
  from the list
- Added ability to change package status by 'pop-ing' it from the stack and
  then re-adding it
- Added (unused ATM) ConnectionRegistry which will serve for outgoing
  connections
- Many medium/minor refacturings, still there is a while() loop that needs
  refacturing to an iterator to not let the software stay to long in that
  method (which would cause other connections being paused)
- TODOs.txt updated
39 files changed:
.gitattributes
application/hub/config.php
application/hub/exceptions/package/.htaccess [new file with mode: 0644]
application/hub/exceptions/package/class_UnexpectedPackageStatusException.php [new file with mode: 0644]
application/hub/interfaces/discovery/class_DiscoverableRecipient.php
application/hub/interfaces/lists/class_Listable.php
application/hub/main/class_BaseHubSystem.php
application/hub/main/discovery/package/class_PackageRecipientDiscovery.php
application/hub/main/discovery/socket/class_PackageSocketDiscovery.php
application/hub/main/factories/socket/class_SocketFactory.php
application/hub/main/handler/network/class_BaseRawDataHandler.php
application/hub/main/helper/connection/class_BaseConnectionHelper.php
application/hub/main/helper/connection/tcp/class_TcpConnectionHelper.php
application/hub/main/listener/class_BaseListener.php
application/hub/main/lists/class_
application/hub/main/lists/class_BaseList.php
application/hub/main/lists/groups/class_ListGroupList.php
application/hub/main/lists/hub/class_HubList.php
application/hub/main/lists/pool/class_PoolEntriesList.php
application/hub/main/lists/query/local/class_LocalQueryList.php
application/hub/main/lists/recipient/class_RecipientList.php
application/hub/main/lists/tasks/class_TaskList.php
application/hub/main/package/class_NetworkPackage.php
application/hub/main/pools/peer/class_DefaultPeerPool.php
application/hub/main/registry/connection/.htaccess [new file with mode: 0644]
application/hub/main/registry/connection/class_ConnectionRegistry.php [new file with mode: 0644]
application/hub/main/registry/socket/class_SocketRegistry.php
application/hub/main/resolver/state/peer/class_PeerStateResolver.php
application/hub/main/states/peer/class_
application/hub/main/states/peer/connected/class_ConnectedPeerState.php
application/hub/main/states/peer/errors/class_ConnectionRefusedPeerState.php
application/hub/main/states/peer/errors/class_ConnectionTimedOutPeerState.php
application/hub/main/states/peer/errors/class_NoRouteToHostPeerState.php [new file with mode: 0644]
application/hub/main/states/peer/errors/class_OperationAlreadyProgressPeerState.php [new file with mode: 0644]
application/hub/main/states/peer/errors/class_TransportEndpointGonePeerState.php [new file with mode: 0644]
application/hub/main/states/peer/transport_endpoint/class_TransportEndpointGonePeerState.php
application/hub/main/statistics/connection/class_ConnectionStatisticsHelper.php
application/hub/main/visitor/socket/class_HalfShutdownSocketVisitor.php [new file with mode: 0644]
docs/TODOs.txt