Handshaking tutorial
Bruno de Carvalho
kindernade at gmail.com
Fri Jul 16 08:57:17 EDT 2010
Howdy,
I've just written a tutorial on handshaking with Netty.
The subject is how to establish connections that include an handshake/negotiation phase, with the handshake logic being completely isolated in its own handler - so that it can be removed when handshake is complete.
Here's the link: http://bruno.linker45.eu/2010/07/15/handshaking-tutorial-with-netty/
It's a bit long but has a lot of code walkthrough. If you have some time, check it out and drop me a comment. I'd love to hear out new ideas to turn this into a useful community tutorial :)
Cheers,
Bruno
PS: I wrote it based on a recent experience while developing a system with high availability requirements which included secure server-to-server connections. I tried to simplify as much as I could (using plain text, switching server-to-server for the more familiar client-to-server) while keeping focus on the handshaking part.
More information about the netty-users
mailing list