mercredi 26 juillet 2017

How does Netty find type parameters

In the last few month I played a bit with netty and I was impressed. If I add a SimpleChannelInboundHandler<T> to the pipeline, it will get notified only for inbound events of type T. I seems like the class io.netty.util.internal.TypeParameterMatcher has something to do with it - but it has no documentation.

So, how does Netty achieve this?





Aucun commentaire:

Enregistrer un commentaire