I've reviewed up to the latest transports2, and pushed that to chetan-transports on the main repository.
There are still lots of minor issues to sort out, e.g. locking stuff. I will fix some of the minor stuff. Much of the locking stuff we will have to discuss though. There have been some interesting developments in next you may need to look into: - PeerNode.isConnected is no longer a boolean. It's a separate object, a BooleanLastTrueTracker, which has its own synchronization and tracks a boolean state and when it was last true (thus replacing the other variable too). This needs to be updated whenever a transport connects or disconnects, but it means isConnected() becomes trivial. - Node.internalID. Hmmm, I haven't merged this from the branch test-refactoring yet, sorry. Anyway, this can be used everywhere where we use the darknet port as an identifier for the local node now (e.g. thread names). - IPv6 ideally would be a separate transport from IPv4. I had to introduce some kludgy code to deal with them having different packet sizes, that may not merge well.
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Devl mailing list [email protected] https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
